![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hello all,
I am currently working on an addin for Word that adds a custom toolbar with one CommandBarButton. The addin works fine, and does what it is supposed to do, but if I open Outlook first, the command bar and button will apear on a new compose message. Also, opening Outlook first causes the commandbar to be hidden when Microsoft Word is opened. Everything works fine if it's the other order (Microsoft Word is opened first, and then Outlook). Do I need to access the normal.dot template to fix this? How do I not get the toolbar to show up in Outlook. I am aware that composing a message in Outlook uses Word as the text editor, but there must be a different template file for the toolbars? Has anyone encountered this or can think of a solution? Thank You, Rob Heinen Software Developer |
Ads |
#2
|
|||
|
|||
![]()
Everything goes where Word.CustomizationContext points, usually Normal.dot,
for all customizations. Handle the Word.WindowActivate event. In that event check for Window.EnvelopeVisible. If True then it's a WordMail item and hide your buttons. If False it's a Word document window and make your buttons visible/enabled. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm wrote in message oups.com... Hello all, I am currently working on an addin for Word that adds a custom toolbar with one CommandBarButton. The addin works fine, and does what it is supposed to do, but if I open Outlook first, the command bar and button will apear on a new compose message. Also, opening Outlook first causes the commandbar to be hidden when Microsoft Word is opened. Everything works fine if it's the other order (Microsoft Word is opened first, and then Outlook). Do I need to access the normal.dot template to fix this? How do I not get the toolbar to show up in Outlook. I am aware that composing a message in Outlook uses Word as the text editor, but there must be a different template file for the toolbars? Has anyone encountered this or can think of a solution? Thank You, Rob Heinen Software Developer |
#3
|
|||
|
|||
![]() Ken Slovak - [MVP - Outlook] wrote: Everything goes where Word.CustomizationContext points, usually Normal.dot, for all customizations. Handle the Word.WindowActivate event. In that event check for Window.EnvelopeVisible. If True then it's a WordMail item and hide your buttons. If False it's a Word document window and make your buttons visible/enabled. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm Thanks for the help Ken. It worked perfectly. Sorry about the double post, I won't do that in the future (I'm new here). Thanks again, Rob Heinen |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook / Word conflict | [email protected] | Outlook - Using Forms | 1 | July 20th 06 04:28 PM |
MS Outlook 2003 vs. MSN Explorer conflict? | Plywaski | Outlook - Calandaring | 2 | July 13th 06 03:42 PM |
outlook xp appointment conflict problem | [email protected] | Outlook - Calandaring | 0 | July 6th 06 11:09 AM |
Outlook Calendar should let you view the conflict with a meeting | jambalaya_crawfishpie | Outlook - Calandaring | 1 | June 2nd 06 08:10 PM |
There is a conflict with Business Contact Manager and Outlook Hotkey features | Gentlebear | Outlook - General Queries | 0 | March 29th 06 04:03 PM |