Connecting Tech Pros Worldwide Forums | Help | Site Map

Launching IE from my windows form

Muscha
Guest
 
Posts: n/a
#1: Nov 15 '05
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



Morten Wennevik
Guest
 
Posts: n/a
#2: Nov 15 '05

re: Launching IE from my windows form


On Thu, 30 Oct 2003 18:39:31 +1100, Muscha <muscha@no.spam.net> wrote:
[color=blue]
> 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
>
>[/color]

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.

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Ravikanth[MVP]
Guest
 
Posts: n/a
#3: Nov 15 '05

re: Launching IE from my windows form


Hi

Try this

System.Diagnostics.Process.Start("http://....";)

HTH
Ravikanth[MVP]

[color=blue]
>-----Original Message-----
>Hello,
>
>How do I launch an IE instance with the URL as the[/color]
parameter from my windows[color=blue]
>form? I have the axWebBrowser control, should I use that[/color]
one?[color=blue]
>
>Thanks,
>
>/m
>
>
>.
>[/color]
Muscha
Guest
 
Posts: n/a
#4: Nov 15 '05

re: Launching IE from my windows form


[color=blue]
> 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
>
>[/color]
[color=blue]
> axWebBrowser control is for displayig web pages within your windows form.
> To launch internet explorer you simply write[/color]
[color=blue]
> System.Diagnostics.Process.Start(url);[/color]

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


Closed Thread