BLOG.CSHARPHELPER.COM: Make a Visual Studio toolbar button that opens a web site or sends email
Make a Visual Studio toolbar button that opens a web site or sends email
The example Add a tool to Visual Studio that opens a web site or sends email shows how to add useful web or email capabilities to Visual Studio's Tools menu. This entry explains how to make those commands buttons on a toolbar so they are easier to use.
After you add the tools to the Tools menu, follow these steps to make the toolbar buttons:
Open the Tools menu and select Customize.
On the Toolbars tab, click New. Name the new toolbar Links (or whatever you like).
With the Customize dialog still visible, open the Tools menu. Find the new external command(s) you created in the previous entry. It will probably be named External Command 3 (or some number) somewhere above the External Tools item. Right-click this item and change its Name to VB Helper or at least something more appropriate than External Command 3.
Then hold down the Ctrl key and drag the item to the new toolbar. This will copy the item into the new toolbar while leaving a copy in the Tools menu.
Close the Customize dialog and test the new toolbar’s command.
You can use similar techniques to place other commands on a new toolbar to make tools you need frequently easier to use.
Comments