How to open a new browser

G

Guest

Hi,
I used the following code to open a browser

System.Diagnostics.Process.Start(url

however, it took the latest activate opened browser (if exists already). I'd like to know how to open such web page in a new browser A, and every time I run the code again, the web page must be opened only in this browser A

Thanks in advance
 
W

William Ryan eMVP

Try Process.Start("iexplore.exe", url)

--
W.G. Ryan MVP Windows - Embedded

http://forums.devbuzz.com
http://www.knowdotnet.com/dataaccess.html
http://www.msmvps.com/williamryan/
Li Pang said:
Hi,
I used the following code to open a browser:

System.Diagnostics.Process.Start(url)

however, it took the latest activate opened browser (if exists already).
I'd like to know how to open such web page in a new browser A, and every
time I run the code again, the web page must be opened only in this browser
A.
 
G

Guest

Thanks William

It works fine. How about the situation for checking if the browser is already openned
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top