Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / July 2006

Tip: Looking for answers? Try searching our database.

Outlook / Word conflict

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bormesh@gmail.com - 20 Jul 2006 15:01 GMT
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
Ken Slovak - [MVP - Outlook] - 20 Jul 2006 15:28 GMT
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.

Signature

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

> Hello all,
>
[quoted text clipped - 13 lines]
> Rob Heinen
> Software Developer
Rob - 20 Jul 2006 17:38 GMT
> Everything goes where Word.CustomizationContext points, usually Normal.dot,
> for all customizations.
[quoted text clipped - 11 lines]
> 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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.