Weird Thoughts From Eric's Head

Tags - Categories : All | AJAX | BUSINESS | PERSONAL | PROGRAMMING | BOOK REVIEW

VS Tip: Setting the Default Browser

Here is a quick tip for people using Visual Studio. When you run the project or view the page in the browser, it is possible to do this in any browser installed on your computer and not just IE. Yes you can run the debugger in Mozilla, Firefox, Opera, etc. All you need to do is tell the browser what the default browser is and here is a quick way to do it.

Right click on one of your .aspx pages in your Solution Explorer window to bring up the menu and select "Browse With..." as shown below.

VS menu

Now with that selected a window pops up with all of the available browsers on your computer. Select the one you want and make it the default. Therefore when you run the project, this browser will open up rather than Internet Explorer.

VS Menu2

As you can see I prefer to use Mozilla as my default browser since it has better JavaScript debugging features built into it. Hopefully this will help you out and eliminate the need to keep copy and pasting URLS into multiple browsers to test code. The screenshots are from 2003, but you can find the same exact menus in 2005.

Eric Pascarello
Coauthor of Ajax In Action
Moderator of HTML/JavaScript at www.JavaRanch.com
Author of: JavaScript: Your Visual Blueprint for Dynamic Web Pages


Thaaank you eric!!! You are my savior! I was thinking of having similar page for spoilers in c# and vs.net 2005 .. there is a lot of'em. Tx again and regards.


Add a comment

Title
Body
HTML : b, i, blockquote, br, p, pre, a href="", ul, ol, li
Math Quiz 1 + 8 = (Helps stop blog spam)
Name
E-mail address
Website
Remember me Yes  No 

E-mail addresses are not publicly displayed, so please only leave your e-mail address if you would like to be notified when new comments are added to this blog entry (you can opt-out later).

TrackBack to http://radio.javaranch.com/pascarello/addTrackBack.action?entry=1136472839804