Multiple Toolbars being added/Multiple Buttons being added to Mail

Multiple Toolbars being added/Multiple Buttons being added to Mail

Post by TWF0d » Wed, 13 May 2009 05:34:04


Hello,

I am developing an outlook add-in which requires a single toolbar with a
single button being added to the MailEditor window. Upon debugging my project
the first time, the button is created and all is well. However, after closing
outlook and debugging again, a duplicate toolbar is added (with the button).
This continues to happen and toolbar after toolbar is added. I manually
remove the Add-In and restart Outlook and the buttons are still there, the
only way to remove them is by restarting my PC, and it just happens again.
How would I go about solving this problem?

Thanks
 
 
 

Multiple Toolbars being added/Multiple Buttons being added to Mail

Post by Ken Slovak » Wed, 13 May 2009 06:29:32

Always make sure to set the UI you create as temporary, and then delete it
before the relevant Explorer or Inspector closes.

--
Ken Slovak
[MVP - Outlook]
http://www.yqcomputer.com/
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.yqcomputer.com/