menubar

S

Saritha

Hi,
I'am writing Visio Add-on to add custom menu items to standard menu.But
How to delete menuitems which i dont need from that standard menu.
am writing like this:
Microsoft.Office.Core.CommandBars theCommandBars;
Microsoft.Office.Core.CommandBar commandBarToDelete;

theCommandBars = (Microsoft.Office.Core.CommandBars)
visioApplication.CommandBars;

string CommandBarName;

commandBarToDelete = theCommandBars[CommandBarName];

commandBarToDelete.Delete();

But what to Pass for CommandBarName??? to delets say: Help from the standard
menu.

Thanks

Saritha.
 
Top