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 :)
 

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