Problem with Inspector CommandBars and MS Word

Joined
Jul 10, 2006
Messages
1
Reaction score
0
Hello all,

I have a next problem:

My Add-in adds a custom CommandBar with button into MailItem Inspector's CommandBars object via NewInspector event. The MS Word editor is switched on. It works properly.

But... If MS Word application was run before the MailItem Inspector was opened (for example New Mail Message action), the Inspector's CommandBars refers on MS Word application commandBar object !!!, therefor my custom commandBar appears in MS Word application and action received from my custom button from MS Word, not from Outlook MailItem Inspector.
What is wrong? How can I obtain Outlook Inspector CommandBar?

Regards,
Yuri
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top