1
Answer

to open mozilla firefox instead of IE..

gopal kannan

gopal kannan

16y
8.4k
1
hi friends..

i want to open mozilla firefox instead of IE using my application. i am having code to open IE through my application.. but i want to open mozilla insead of IE.
is it possible to open mozilla..
possible means send  the coding  in c#..

regards
gopal


Answers (1)
0
Niradhip Chakraborty

Niradhip Chakraborty

NA 6.5k 527k 16y

Use the Process class (System.Diagnostics) using the URL as the process name. This will use the system default browser to open the URL. If you specify a browser, you run the risk that the browser doesn't exist.

or

right click the project solution and choose "Browse With" option and then select the firefox and click setus default.