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
 
Back
Top