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

Outlook 2007 / Addin with Ribbon



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 4th 07, 04:26 PM posted to microsoft.public.outlook.program_addins
Paul Liebrand
external usenet poster
 
Posts: 2
Default Outlook 2007 / Addin with Ribbon

I have developed an addin for Outlook 2007 with my own ribbon UI. Everything
works great if launched from Outlook. However, if I right click on a file and
do a Send To Mail Recipent, I can see my custom ribbon, but the events never
fire.

The send to problem also occurs from Word, Excel, etc.

Any ideas?
  #2  
Old February 4th 07, 05:21 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook 2007 / Addin with Ribbon

Simple MAPI Send To doesn't fire the NewInspector event.

If you attempt to handle Outlook being started in that way it can lead to
hanging the source application for the Simple MAPI call, or hanging Outlook.
You have to be very careful handling those situations.

For running addins you can run a timer that checks to see if any members of
the Inspectors collection is not being handled.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Paul Liebrand" wrote in message
...
I have developed an addin for Outlook 2007 with my own ribbon UI.
Everything
works great if launched from Outlook. However, if I right click on a file
and
do a Send To Mail Recipent, I can see my custom ribbon, but the events
never
fire.

The send to problem also occurs from Word, Excel, etc.

Any ideas?


  #3  
Old February 5th 07, 08:46 PM posted to microsoft.public.outlook.program_addins
Paul Liebrand
external usenet poster
 
Posts: 2
Default Outlook 2007 / Addin with Ribbon

How would running the timer checking for unhandle members help?

"Ken Slovak - [MVP - Outlook]" wrote:

Simple MAPI Send To doesn't fire the NewInspector event.

If you attempt to handle Outlook being started in that way it can lead to
hanging the source application for the Simple MAPI call, or hanging Outlook.
You have to be very careful handling those situations.

For running addins you can run a timer that checks to see if any members of
the Inspectors collection is not being handled.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Paul Liebrand" wrote in message
...
I have developed an addin for Outlook 2007 with my own ribbon UI.
Everything
works great if launched from Outlook. However, if I right click on a file
and
do a Send To Mail Recipent, I can see my custom ribbon, but the events
never
fire.

The send to problem also occurs from Word, Excel, etc.

Any ideas?



  #4  
Old February 5th 07, 09:12 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook 2007 / Addin with Ribbon

If you find something in the Inspectors collection that isn't being handled
then start handling it as if you had just received the NewInspector event.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Paul Liebrand" wrote in message
...
How would running the timer checking for unhandle members help?


 




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
Ribbon and Quick Access Toolbar not appearing in Outlook 2007 David Outlook - Installation 1 January 19th 07 08:47 PM
Change Outlook 2007 Ribbon icon for a form page [email protected] Add-ins for Outlook 1 December 19th 06 07:01 PM
Outlook 2007 Click a Button on the Ribbon through Code [email protected] Add-ins for Outlook 5 December 14th 06 08:04 PM
Customizing the Ribbon in Outlook 2007 Chad Harris Outlook - General Queries 0 June 23rd 06 03:01 PM
Outlook 2007 - why no ribbon? Daern's Instant Fortress Outlook - General Queries 1 May 24th 06 05:56 PM


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