BLOG.CSHARPHELPER.COM: Add a tool to Visual Studio that opens a web site or sends email
Add a tool to Visual Studio that opens a web site or sends email
There are many web sites that you may find useful while building applications. You may also want to send email to an instructor, me (Rod Stephens), other project members, and others. This example shows how to make tools to launch these processes from the Visual Studio IDE.
To make a tool that opens a web page, follow these steps:
Open the Tools menu and select External Tools.
Click Add.
Give the new tool the title C# Helper.
Set the tool's Command to the location of your browser's executable. To find the browser's location:
Right-click an icon that launches the browser and select Properties.
Copy and paste the Target. This might be "C:\Program Files\Internet Explorer\iexplore.exe" or "C:\Program Files\Mozilla Firefox\firefox.exe."
The tool will appear in the Tools menu in the section above the External Tools entry. When you select that menu item, Visual Studio will launch your browser and display the web page.
To launch an email, follow the previous steps but change the URL in the tool's Arguments property to something like mailto:RodStephens@CSharpHelper.com.
Comments