A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Accessing User Input In Outlook Appointment Form



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 11th 08, 12:02 AM posted to microsoft.public.outlook.program_addins
JRomeo
external usenet poster
 
Posts: 16
Default Accessing User Input In Outlook Appointment Form

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  
Old April 11th 08, 12:14 AM posted to microsoft.public.outlook.program_addins
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Accessing User Input In Outlook Appointment Form

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  
Old April 11th 08, 12:57 AM posted to microsoft.public.outlook.program_addins
JRomeo
external usenet poster
 
Posts: 16
Default Accessing User Input In Outlook Appointment Form

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  
Old April 11th 08, 02:54 AM posted to microsoft.public.outlook.program_addins
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Accessing User Input In Outlook Appointment Form

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  
Old April 16th 08, 03:33 PM posted to microsoft.public.outlook.program_addins
Taylor
external usenet poster
 
Posts: 4
Default Accessing User Input In Outlook Appointment Form


"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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 09:25 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.