unable to delete a custom CommandBar permanently

J

Jimmy Badawy

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.
 
C

Cindy M -WordMVP-

Hi Jimmy,

In which application are you doing this?
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.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 
Top