Launching IE from my windows form

  • Thread starter Thread starter Muscha
  • Start date Start date
M

Muscha

Hello,

How do I launch an IE instance with the URL as the parameter from my windows
form? I have the axWebBrowser control, should I use that one?

Thanks,

/m
 
Hello,

How do I launch an IE instance with the URL as the parameter from my
windows
form? I have the axWebBrowser control, should I use that one?

Thanks,

/m

axWebBrowser control is for displayig web pages within your windows form..
To launch internet explorer you simply write

System.Diagnostics.Process.Start(url);

This will launch the default web browser opening the specified url.
You can specify internet explorer with Start("iexplore.exe", url), but you
are not guaranteed that Windows will be able to open iexplore.exe without
knowing the full path, which varies between systems.
 
Hello,

How do I launch an IE instance with the URL as the parameter from my
windows
form? I have the axWebBrowser control, should I use that one?

Thanks,

/m
axWebBrowser control is for displayig web pages within your windows form.
To launch internet explorer you simply write
System.Diagnostics.Process.Start(url);

That works thanks, but it seems that it is using the current existing
browser. How do I tell it to always execute a new browser?

thanks,

/m
 

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

Back
Top