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

access appointmentItem from ribbon menu



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 16th 09, 05:05 PM posted to microsoft.public.outlook.program_addins
Heinz Schmidt
external usenet poster
 
Posts: 6
Default access appointmentItem from ribbon menu

Hi Ng,

i have added a ribbon to a appointmentitem with one button.
Now i try to access the appointmentitem properties on the click event of the
button.

Where i can find the reference to the appointmentItem which is containing
the button?

thx a lot

Heinz

Ads
  #2  
Old June 16th 09, 06:40 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default access appointmentItem from ribbon menu

The context property of the control passed to the callback (say onAction) is
the Inspector. Cast that to an Inspector object and then use
Inspector.CurrentItem to get to the item and its properties.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Heinz Schmidt" wrote in message
...
Hi Ng,

i have added a ribbon to a appointmentitem with one button.
Now i try to access the appointmentitem properties on the click event of
the button.

Where i can find the reference to the appointmentItem which is containing
the button?

thx a lot

Heinz


 




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
TaskItem.Body and AppointmentItem.Body = access violation (NULL pt Kayako Inc. Outlook and VBA 0 August 14th 07 12:36 AM
Outlook 2007 Ribbon access from ActiveX control GR Add-ins for Outlook 4 May 29th 07 05:24 PM
Ribbon and Quick Access Toolbar not appearing in Outlook 2007 David Outlook - Installation 1 January 19th 07 08:47 PM
How to access the Private property on a Outlook.AppointmentItem PromisedOyster Outlook and VBA 1 August 11th 06 12:26 PM
Unable to create outlook shortcut in the start menu: access denied [email protected] Outlook - General Queries 8 June 10th 06 08:52 PM


All times are GMT +1. The time now is 09:09 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.