473,322 Members | 1,806 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Use a browser other than IE with Visual Studio .NET

I've been trying to use a browser other than IE in VS.NET with no success.
The default browser on my PC is Firefox, and it is also the default browser
for opening web documents from the Solution Explorer in VS.NET. But when I
click the Play button or hit F5, it is still IE that is being launched. Is
there a way ? A registry key somewhere ??...or something obvious that I
didn't see...or maybe it's illegal to do it ? ;-)
Nov 19 '05 #1
6 1410
In the Solution Explorer, right-click the file you want
to browse with Firefox, and choose "Browse with".

In the dialog, navigate to wherever Firefox.exe is installed
in your computer, and add it to the list of browsers.

If you want to make it the default browser, do that.

Nothing "illegal" about doing that.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Jeff Robichaud" <jf*********@gmail.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
I've been trying to use a browser other than IE in VS.NET with no success.
The default browser on my PC is Firefox, and it is also the default
browser for opening web documents from the Solution Explorer in VS.NET.
But when I click the Play button or hit F5, it is still IE that is being
launched. Is there a way ? A registry key somewhere ??...or something
obvious that I didn't see...or maybe it's illegal to do it ? ;-)

Nov 19 '05 #2
Thanks Juan.

Well, like I said, this works indeed, but I would like to use the Play
button to launch my app with Firefox, instead of having to locate my
"default.aspx" file in the Solution Explorer, then right-clicking it, then
choosing "Browse with". Of course it works, but I really would like to save
those steps. Am I right if I say that the command "Set as start page" was
probably meant for choosing a page to be run when we click the Play
button...
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:O4**************@TK2MSFTNGP15.phx.gbl...
In the Solution Explorer, right-click the file you want
to browse with Firefox, and choose "Browse with".

In the dialog, navigate to wherever Firefox.exe is installed
in your computer, and add it to the list of browsers.

If you want to make it the default browser, do that.

Nothing "illegal" about doing that.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Jeff Robichaud" <jf*********@gmail.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
I've been trying to use a browser other than IE in VS.NET with no
success. The default browser on my PC is Firefox, and it is also the
default browser for opening web documents from the Solution Explorer in
VS.NET. But when I click the Play button or hit F5, it is still IE that
is being launched. Is there a way ? A registry key somewhere ??...or
something obvious that I didn't see...or maybe it's illegal to do it ?
;-)


Nov 19 '05 #3
> After you set Firefox as the default browser, doesn't
Firefox run everytime you hit the "Browse" context menu ? you're right.

Finally, I found that launching Firefox with F5 works, but only in Release
mode, not in Debug mode.
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:uL**************@TK2MSFTNGP14.phx.gbl... After you set Firefox as the default browser, doesn't
Firefox run everytime you hit the "Browse" context menu ?

You don't have to use "Browse with" after
setting Firefox as the default browser.

When you use F5 ( the attached triangle, "debug.jpg", button )
the whole project needs to be compiled.

Why would you want to do that,
if you're only testing one page ?

You can, also, hit the "View in Browser" icon
( attached "ViewinBrowserIcon.jpg" )

You'll be able to navigate anywhere in your site that way.

In any case, you've got a workaround
which requires little effort... ;-)


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Jeff Robichaud" <jf*********@gmail.com> wrote in message
news:u2**************@TK2MSFTNGP15.phx.gbl...
Thanks Juan.

Well, like I said, this works indeed, but I would like to use the Play
button to launch my app with Firefox, instead of having to locate my
"default.aspx" file in the Solution Explorer, then right-clicking it,
then
choosing "Browse with". Of course it works, but I really would like to
save
those steps. Am I right if I say that the command "Set as start page" was
probably meant for choosing a page to be run when we click the Play
button...


"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:O4**************@TK2MSFTNGP15.phx.gbl...
In the Solution Explorer, right-click the file you want
to browse with Firefox, and choose "Browse with".

In the dialog, navigate to wherever Firefox.exe is installed
in your computer, and add it to the list of browsers.

If you want to make it the default browser, do that.

Nothing "illegal" about doing that.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Jeff Robichaud" <jf*********@gmail.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
I've been trying to use a browser other than IE in VS.NET with no
success. The default browser on my PC is Firefox, and it is also the
default browser for opening web documents from the Solution Explorer in
VS.NET. But when I click the Play button or hit F5, it is still IE that
is being launched. Is there a way ? A registry key somewhere ??...or
something obvious that I didn't see...or maybe it's illegal to do it ?
;-)


Nov 19 '05 #4
Answer to myself and to anyone interested,

When in Debug mode, by default VS.NET uses Internet Explorer. This is an
option found in Project Properties.
Go "Configuration Properties", "Debugging", "Start Options", "Always Use
Internet Explorer".
When set to false, the VS.NET debugger will use the default browser for
VS.NET, not the machine's default browser.
"Jeff Robichaud" <jf*********@gmail.com> wrote in message
news:ef**************@TK2MSFTNGP12.phx.gbl...
After you set Firefox as the default browser, doesn't
Firefox run everytime you hit the "Browse" context menu ?

you're right.

Finally, I found that launching Firefox with F5 works, but only in Release
mode, not in Debug mode.
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:uL**************@TK2MSFTNGP14.phx.gbl...
After you set Firefox as the default browser, doesn't
Firefox run everytime you hit the "Browse" context menu ?

You don't have to use "Browse with" after
setting Firefox as the default browser.

When you use F5 ( the attached triangle, "debug.jpg", button )
the whole project needs to be compiled.

Why would you want to do that,
if you're only testing one page ?

You can, also, hit the "View in Browser" icon
( attached "ViewinBrowserIcon.jpg" )

You'll be able to navigate anywhere in your site that way.

In any case, you've got a workaround
which requires little effort... ;-)


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Jeff Robichaud" <jf*********@gmail.com> wrote in message
news:u2**************@TK2MSFTNGP15.phx.gbl...
Thanks Juan.

Well, like I said, this works indeed, but I would like to use the Play
button to launch my app with Firefox, instead of having to locate my
"default.aspx" file in the Solution Explorer, then right-clicking it,
then
choosing "Browse with". Of course it works, but I really would like to
save
those steps. Am I right if I say that the command "Set as start page"
was
probably meant for choosing a page to be run when we click the Play
button...


"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:O4**************@TK2MSFTNGP15.phx.gbl...
In the Solution Explorer, right-click the file you want
to browse with Firefox, and choose "Browse with".

In the dialog, navigate to wherever Firefox.exe is installed
in your computer, and add it to the list of browsers.

If you want to make it the default browser, do that.

Nothing "illegal" about doing that.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Jeff Robichaud" <jf*********@gmail.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
> I've been trying to use a browser other than IE in VS.NET with no
> success. The default browser on my PC is Firefox, and it is also the
> default browser for opening web documents from the Solution Explorer
> in
> VS.NET. But when I click the Play button or hit F5, it is still IE
> that
> is being launched. Is there a way ? A registry key somewhere ??...or
> something obvious that I didn't see...or maybe it's illegal to do it ?
> ;-)



Nov 19 '05 #5
OK, now how do where can we set the default browser for VS.NET? :-)

Honestly, I've been looking for a while, and I don't see it.

Nov 19 '05 #6
Of course as soon as I responded, I found the answer. For some reason,
they decided to put this option on the File menu, rather than putting
it in with the rest of the options in Tools >> Options. (WHY???)

Go to File >> Browser With... and there you will be able to set the
default browser for VS.NET to whatever you want. Argh.

Nov 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: migue | last post by:
way below newbie level: I know nothing about .Net. Have a VB6 client-server application (business app, inventory, purchasing, invoicing, etc.) and am considering converting it to VB.Net at a...
0
by: Vishal Gupta | last post by:
Hi, I am trying to call a function in my web page, asynchronously, to improve performance. I am using a function delegate to do that. I have a web page. When the user clicks a button, i want to...
3
by: Michel H | last post by:
Hello everyone, While it seems simple to me, I just want to have a URL in my windows application that people can click and then launch the URL in the default browser. Same thing with a mailto:...
3
by: Silvia | last post by:
H I have a problem with the browser in visual studio.net I have created a Web Forms pag I have added Button and TextBox onto the pag I have created an event handler for the click event of the...
0
by: Sharon McCarty | last post by:
Hi Everyone, I'm running visual studio .net and recently I had Microsoft automatically update my XP machine. I also recently upgraded my visual studio.net to 1.1 framework. I noticed that...
10
by: Christopher Nelson | last post by:
I've been developing a little web page full of JavaScript while using Firefox and it works well but when I try to view it in Opera and IE, it's incomplete. I suspect cross-browser issues in the...
18
Frinavale
by: Frinavale | last post by:
I'm currently trying to arrange things so that they look the same for IE and Firefox. Right now I'd love to test things in Firefox and then go back and tweak things in IE. My annoyance is that I...
4
by: ken | last post by:
We are looking for C# developers who use Visual Studio 2005 to help test our new code browser, CodeSkipper. Briefly, CodeSkipper is a code browser, implemented as a toolwindow addin to Visual...
1
by: Johnson | last post by:
I just started with a new client who is supplying me with a new development box with Visual Studio 2005 installed, for ASP.NET development. When developing, I launch the application in debug mode...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.