
106
|
Chapter 4, Customizing Visual Studio
#25 Customize Menus and Toolbars
HACK
Studio provides a method to reset all the toolbars and menus. This can be
done using the following procedure:
1. Close all running instances of Visual Studio.
2. Open the Visual Studio Command Prompt
[Hack #77].
3. Type
devenv /setup.
4. This will reset all the toolbar and menu customizations and hopefully
fix whatever problems you are running into.
Hacking the Hack
Now that you have made all these different customizations to the menus and
toolbars on the IDE, how can you save these settings and move them to
another computer? Unfortunately, there is no power toy available to do this
automatically, but thankfully, it is not too hard. All of the changes are
located in one file in your user profile. All you need to do is copy this file to
the same directory on your new system. The file is called CmdUI.PRF and is
located in the following directory:
\Documents and Settings\<username>\Application Data\Microsoft\
VisualStudio\<7.1>\1033
All you need to do is copy this file to your new system, and all of your
changes should be moved.
Figure 4-9. Adding a command to a menu