Suggestions for preventing Word menu appearing in Outlook e-mail

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

Suggestions for preventing Word menu appearing in Outlook e-mail
 
Philip Street




Posts: 53
Joined: 2005-01-25
I know this topic has been discussed before but I have been unable to find a suitable solution.

The problem is that my Word menu appears in an Outlook e-mail, because Outlook is configured to use Word as it's e-mail editor.

One obvious solution is to turn this option off, but that will not do - you cannot simply tell 6000 users to turn this option off in Outlook.

Does anyone have a solution to this?

I did find a post in an MS newsgroup suggestion that you disable the menu option in the WindowActivate event of Word, but I cannot work out how that is done. With that in mind, is it possible to use the WindowActivate event or Word and, if so, could someone supply some samply code?

Many thanks,

Phil
Posted 19 Jul, 2005 13:47:00 Top
Sergey Grischenko


Add-in Express team


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

Could you test the following example:
http://www.add-in-express.com/projects/wordinoutlookissue.zip

Probably it will help you. The main idea is to disable a Word command bar in Outlook the add-in must be loaded both in Word and Outlook. Then you just disable the command bar for Outlook in the AddinStartupComplete event handler of the AddinModule and in the WindowActivate event handler of the ADXWordAppEvents component.
Posted 20 Jul, 2005 10:09:08 Top
Philip Street




Posts: 53
Joined: 2005-01-25
Sergey,

As ever, you chaps have "hit the nail on the head" as we say here in the UK.

That seems to have done the trick.

Much appreciated. :-)

Phil
Posted 20 Jul, 2005 11:54:22 Top