![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi:
I'm creating a COM add-in for Outlook 2003. How can I access the values of the Start Time and End Time fields from an open Appointment form? Something like Item.Start and Item.End I belive but not sure how to get the context of the Appointment form. Please help. Thanks. -- Tip: Never eat yellow snow. |
Ads |
#2
|
|||
|
|||
![]()
From the Outlook object model, Application.ActiveInspector.CurrentItem will return the currently open item.
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "JRomeo" wrote in message ... Hi: I'm creating a COM add-in for Outlook 2003. How can I access the values of the Start Time and End Time fields from an open Appointment form? Something like Item.Start and Item.End I belive but not sure how to get the context of the Appointment form. Please help. Thanks. -- Tip: Never eat yellow snow. |
#3
|
|||
|
|||
![]()
Thanks Sue.
I'm new at this, and I just don't get it. I can't figure out how to add a control to the Appointment form toolbar. I've successfully created a COM add-in that adds a button to the Standard toolbar of Outlook. But I want to create it for a form. Is there any code that specifically references the Appointment form toolbar? I'm sure this is such a simple thing to do, but I can't find the resources. I have your book but it covers maniuplating the forms themselves. Any help you may have would be great. Thanks again. -- Tip: Never eat yellow snow. "Sue Mosher [MVP-Outlook]" wrote: From the Outlook object model, Application.ActiveInspector.CurrentItem will return the currently open item. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "JRomeo" wrote in message ... Hi: I'm creating a COM add-in for Outlook 2003. How can I access the values of the Start Time and End Time fields from an open Appointment form? Something like Item.Start and Item.End I belive but not sure how to get the context of the Appointment form. Please help. Thanks. -- Tip: Never eat yellow snow. |
#4
|
|||
|
|||
![]()
Outlook has two types of windows, Explorer for folder views and Inspector for individual items. You need to create your button on the Inspector window. The code sample at http://www.outlookcode.com/codedetail.aspx?id=1344 uses a wrapper class to handle buttons on multiple open mail (Outlook editor, not WordMail) and contact items. You should be able to adapt it to your scenario.
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "JRomeo" wrote in message ... Thanks Sue. I'm new at this, and I just don't get it. I can't figure out how to add a control to the Appointment form toolbar. I've successfully created a COM add-in that adds a button to the Standard toolbar of Outlook. But I want to create it for a form. Is there any code that specifically references the Appointment form toolbar? I'm sure this is such a simple thing to do, but I can't find the resources. I have your book but it covers maniuplating the forms themselves. Any help you may have would be great. Thanks again. "Sue Mosher [MVP-Outlook]" wrote: From the Outlook object model, Application.ActiveInspector.CurrentItem will return the currently open item. "JRomeo" wrote in message ... Hi: I'm creating a COM add-in for Outlook 2003. How can I access the values of the Start Time and End Time fields from an open Appointment form? Something like Item.Start and Item.End I belive but not sure how to get the context of the Appointment form. Please help. Thanks. -- Tip: Never eat yellow snow. |
#5
|
|||
|
|||
![]() "JRomeo" wrote in message ... Thanks Sue. I'm new at this, and I just don't get it. I can't figure out how to add a control to the Appointment form toolbar. I've successfully created a COM add-in that adds a button to the Standard toolbar of Outlook. But I want to create it for a form. Is there any code that specifically references the Appointment form toolbar? I'm sure this is such a simple thing to do, but I can't find the resources. I have your book but it covers maniuplating the forms themselves. Any help you may have would be great. Thanks again. -- Tip: Never eat yellow snow. Microsoft's developer network, MSDN, has lots of libraries where you can research. Search for the Outlook Object Model: http://msdn2.microsoft.com/en-us/default.aspx "Sue Mosher [MVP-Outlook]" wrote: From the Outlook object model, Application.ActiveInspector.CurrentItem will return the currently open item. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "JRomeo" wrote in message ... Hi: I'm creating a COM add-in for Outlook 2003. How can I access the values of the Start Time and End Time fields from an open Appointment form? Something like Item.Start and Item.End I belive but not sure how to get the context of the Appointment form. Please help. Thanks. -- Tip: Never eat yellow snow. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Accessing User Input In Outlook Appointment Form | JRomeo | Outlook - Using Forms | 1 | April 11th 08 12:14 AM |
Getting user input using a form and returning to procedure | Twotone | Outlook and VBA | 2 | February 7th 07 09:46 PM |
transfer calender input from 1 user to another | Paul Dundee | Outlook - Calandaring | 1 | May 16th 06 09:04 PM |
cannot input space in subject field of new appointment | lasso | Outlook - Calandaring | 0 | March 20th 06 02:58 PM |
Cannot open a form if input spreadsheet | thtsps | Outlook - Using Forms | 5 | February 7th 06 03:45 PM |