unable to delete a custom CommandBar permanently

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Jimmy Badawy (jimmy.badawy_at_ifsal.com)
Date: 08/11/04


Date: Wed, 11 Aug 2004 11:32:13 +0300

I am using a c# to create an office addin.
I am doing the following

oStandardBar = oCommandBars["NewJimBar"];

oStandardBar.Delete();

my custom commandbar tag and name is NewJimBar.

When the addin is registered the commandbar is deleted, only if I unregister
the addin using regasm -u then the commandbar button reappears, only it has
no functionality.

How ca I permanently delete the commandbar.


Quantcast