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 |
|
Sergey Grischenko
Add-in Express team
Posts: 7235
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. |
|
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 |
|