What is the best way to detect if Word is the email editor

Add-in Express™ Support Service
That's what is more important than anything else

What is the best way to detect if Word is the email editor
 
Thomas Grossen


Guest


Hi,

Is there a simple way to find if word is set as the default email editor?

I need to setup different toolbar if word is the email editor or not.

I tried the solution to check if the toolbar "Envelope" exists (this.FindCommandBarObj("Envelope")), but in the 2 cases it exists...

Thank you,

Thomas.
Posted 24 Feb, 2006 07:24:21 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Thomas.

You can create a new item in Outlook (Outlook._Application.CreateItem
) and check the Outlook._Inspector.EditorType property. The item should be removed after you have check it.
Posted 24 Feb, 2006 10:21:13 Top
Thomas Grossen


Guest


Thank you, it works perfectly.

Thomas.
Posted 27 Feb, 2006 05:01:46 Top