debugging in VS

Started by perry59, March 31, 2015, 03:45:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

perry59

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

what, me worry?

Yacine

Last time I removed the command bars by de-installing my plug-in. Not sure if that would apply to your project as well.
Yacine

Nikolay

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

perry59

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!
what, me worry?