Check if wordmail is editor?

  • Thread starter Thread starter Sanjay Singh
  • Start date Start date
S

Sanjay Singh

I have an addin that works provided that the user is not using WordMail.

Is there an easy way to check if WordMail is the editor when my com addin is
loaded? (Inspector.WordEditor is not suitable because this is only available
in Outlook 2002 onwards and only after I open an inspector).

I would like to warn the user as soon as the addin is loaded.
Also .. is it possible to disable Word as the e-mail editor using code.

I need a method that will work in Outlook 2000, 2002 and 2003.

Thanks in advance.

Sanjay
 
There are two problems with that:
1. I want to check when the addin is connected. For Inspector.EditorType to
work, I need to create an Inspector.

2. Inspector.EditorType cannot be used in Microsoft Outlook 2000.

I have found registry settings for Outlook 2000 and 2002 for this
information. What is the registry setting for Outlook 2003 where this
setting is saved (I don't currently have Outlook 2003 installed to test
this.)

Thanks in advance.
Sanjay
 
If you have the registry entry for 2000 and 2002, change 9.0 and 10.0 to
11.0 to get the 2003 entry.

Note, though, that the user can change from WordMail to the regular editor
during the Outlook session.

Inspector.EditorType is a valid property in Outlook 2000, as well as later
versions.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Sue, thank your for your time.

How do I use Inspector.EditorType in Outlook 2000. The
Inspectors_NewInspector never fires if WordMail is used as the Inspector.

Registry Entries
Outlook 2000 and 2000 had completely different registery entries. The entry
for Outlook 2000 was:
HKCU\Software\Microsoft\Office\10.0\Outlook\Options\Mail\UseWordMail
Can someone with Outlook 2003 check if it is similar for Outlook 2003.

Thank you for your help.
Sanjay
 
If you just want to test the setting, don't use an event. Just create a new
message and use GetInspector to return its Inspector object. Close and
discard the message and Inspector after you check the EditorType.

The lack of an Inspector with WordMail is definitely a pain.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Sue, thank your for your time.

How do I use Inspector.EditorType in Outlook 2000. The
Inspectors_NewInspector never fires if WordMail is used as the Inspector.

Registry Entries
Outlook 2000 and 2000 had completely different registery entries. The entry
for Outlook 2000 was:
HKCU\Software\Microsoft\Office\10.0\Outlook\Options\Mail\UseWordMail
Can someone with Outlook 2003 check if it is similar for Outlook 2003.

Thank you for your help.
Sanjay

Sue Mosher said:
If you have the registry entry for 2000 and 2002, change 9.0 and 10.0 to
11.0 to get the 2003 entry.

Note, though, that the user can change from WordMail to the regular editor
during the Outlook session.

Inspector.EditorType is a valid property in Outlook 2000, as well as later
versions.
 
Back
Top