Unwanted Persistent CommandBarButton in Word 2003 Add-in

K

Ken Wilson

I have a shared add-in for Word 2003 written in C# using Visual Studio
2005. When this add-in is uninstalled the button it places on the
Tools dropdown menu continues to persist until it is deleted manually.
The button is added in the OnStartupComplete method and 'true' is
being passed as the Temporary argument. I have attempted to call the
button's Delete method in OnShutDownBegin but to no avail.

One item I have seen that may speak to this issue is that normal.dot
is possibly being saved while the button is still in place and before
OnBeginShutdown is called. Is there someway I can intercept the
saving of normal.dot before it occurs and delete the button?

Thanks in advance for your assistance.

Ken Wilson
Seeking viable IT employment in Victoria, BC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top