Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Outlook 2007 / Addin with Ribbon

Geek News

Outlook 2007 / Addin with Ribbon
Paul Liebrand 2/4/2007 4:26:00 PM
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?
Re: Outlook 2007 / Addin with Ribbon
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 2/4/2007 5:21:21 PM
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" <PaulLiebrand[ at ]discussions.microsoft.com> wrote in message
news:E80249A5-5A16-4AC0-BC16-7F13B80C2C66[ at ]microsoft.com...
[Quoted Text]
>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?

Re: Outlook 2007 / Addin with Ribbon
Paul Liebrand 2/5/2007 8:46:01 PM
How would running the timer checking for unhandle members help?

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

[Quoted Text]
> 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" <PaulLiebrand[ at ]discussions.microsoft.com> wrote in message
> news:E80249A5-5A16-4AC0-BC16-7F13B80C2C66[ at ]microsoft.com...
> >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?
>
>
Re: Outlook 2007 / Addin with Ribbon
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 2/5/2007 9:12:53 PM
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" <PaulLiebrand[ at ]discussions.microsoft.com> wrote in message
news:3459F24B-F1A9-4B6B-96FD-81F6785E9618[ at ]microsoft.com...
[Quoted Text]
> How would running the timer checking for unhandle members help?

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net