When debugging a visio add in with Visual Studio, sometimes I want change what I have in a command bar, add or remove items or change an icon, etc.
however, when visio starts up via the debugger, I see "older" command bars, i.e. something I removed in the code (and resources) still appears in the command bar (and does nothing).
Evidently, these resources get installed somewhere for visio's use, but don't necessarily get rebuilt on subsequent builds of the add in.
Where do I find these items so I can manually delete the "old" stuff?
thanks
perry
Last time I removed the command bars by de-installing my plug-in. Not sure if that would apply to your project as well.
Try simply removing the command bar from Visio UI (Tools-> Customize -> Select the command bar -> Delete),
so that it's constructed from scratch.
Or, you can delete the user UI settings file (visio 2007):
C:/Users/{user}/Application Data/Microsoft/Visio/custom12.vsu
Quote from: Nikolay on March 31, 2015, 04:58:07 PM
Try simply removing the command bar from Visio UI (Tools-> Customize -> Select the command bar -> Delete),
so that it's constructed from scratch.
Or, you can delete the user UI settings file (visio 2007):
C:/Users/{user}/Application Data/Microsoft/Visio/custom12.vsu
That did the trick Nikola, Thanks!