Hi,
I used Word 2003 add-in to add a new menu to the menu bar.
Office.CommandBar menubar = (Office.CommandBar)Application.CommandBars.ActiveMenuBar;
cmdBarControl = (Office.CommandBarPopup)menubar.Controls.Add(
Office.MsoControlType.msoControlPopup, missing, missing, controlCount, true);
menuCommand = (Office.CommandBarButton)cmdBarControl.Controls.Add(
Office.MsoControlType.msoControlButton, missing, missing, missing, true);
Later I found I could not remove the new menu. I uninstalled the package and used Tools/Customize to remove the new menu. But It failed.
Even after I programmatically deleted the menu, when I opened a new Word document, it's still there.
Any idea how I can remove it Does it has something to do with Word Template
Regards,
Haibin