Why won't the menus go away?

B

BF

I'm working on an add-in for Project 2002 and I have a CommandBarPopup
object that I'm adding to the Tools menu. Oddly, when I uninstall the
application, the menu is still there (but does nothing when I click on the
menu items). I also have a tool bar with the same buttons on it, and the
tool bar does go away as it's supposed to.

I have tried adding the CommandBarPopup using VARIANT_TRUE for the temporary
parameter, but that doesn't work. I have also tried calling Delete() on the
object in the OnDisconnection() and OnBeginShutdown() methods, but that
doesn't work either. I have also tried calling Delete() right after it's
created and added to the Tools menu and that does work! Of course, that was
just a test and doesn't really get me anywhere since the menu will never
show up. Does anyone know how to remove menus so that they don't appear
after the add-in has been uninstalled? It's like Project is caching it
somehow...
 

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