473,804 Members | 3,010 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1427
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*********@gm ail.com> wrote in message
news:%2******** *******@TK2MSFT NGP15.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.as px" 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******** ******@TK2MSFTN GP15.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*********@gm ail.com> wrote in message
news:%2******** *******@TK2MSFT NGP15.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******** ******@TK2MSFTN GP14.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 "ViewinBrowserI con.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*********@gm ail.com> wrote in message
news:u2******** ******@TK2MSFTN GP15.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.as px" 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******** ******@TK2MSFTN GP15.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*********@gm ail.com> wrote in message
news:%2******** *******@TK2MSFT NGP15.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 "Configurat ion 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*********@gm ail.com> wrote in message
news:ef******** ******@TK2MSFTN GP12.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******** ******@TK2MSFTN GP14.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 "ViewinBrowserI con.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*********@gm ail.com> wrote in message
news:u2******** ******@TK2MSFTN GP15.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.as px" 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******** ******@TK2MSFTN GP15.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*********@gm ail.com> wrote in message
news:%2******** *******@TK2MSFT NGP15.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
2420
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 customer's request. The goal is to have access to the application from remote locations without the need to install anything on the client. Question 1: How will the user's desktop experience change using .Net vs. VB? i.e. will
0
1389
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 execute this function asynchronously and in the meantime move on to other tasks. At the very end, i call EndInvoke. Problem is if i disrupt this process by closing the browser Visual Studio "freezes" and won't become active until after some time....
3
2909
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: link. Here is the code i'm trying to use which comes straight from the microsoft site: string target= "http://www.microsoft.com";
3
911
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 botton contro In solution explorer, right-click webformx.aspx and then i clicked build and brows The problem is this: Visual studio compiles the page but NOT DISPLAY IT in the Browse tab. I have the same problem from II Please help me thank
0
964
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 when running some applications I never get the web browser to pop up during run time (this is supposed to happen as my apps are webservices, etc.)
10
1996
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 DOM but how do you *find* them; neither Opera nor IE seem to have a JavaScript console as Firefox does. Am I missing something?
18
12957
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 have to publish my site every time I make a change in order to view it in FireFox. This is a very time consuming process. I was wondering if anyone knew if there is a way to set Visual Studio 2005 to debug using a browser other than IE? -Frinny
4
1450
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 Studio, that allows you to navigate code more efficiently and with greater clarity. With it you can navigate to code elements quickly with the keyboard, see different slices of code based on many criteria, dynamically view code as a hierarchy, keep...
1
3477
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 by hitting F5. The browser appears and life is good. But when I close the browser, Visual Studio remains in debugging mode. I have to click the "Stop Debugging" button in the toolbar (or Shift+F5) to get Visual Studio out of debugging mode. ...
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10578
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10321
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10077
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9152
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7620
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5522
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2991
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.