469,327 Members | 1,219 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,327 developers. It's quick & easy.

VB.Net Open Internet Explorer

I am currently migrating over from VB6 and I can't see to find a way to
launch a webpage in internet explorer from a hyperlink on a form.

There must be an easy way to accomplish this? I tried:

System.Diagnostics.Process.Start("Explore.exe", "http//webpath")
System.Diagnostics.Process.Start("http//webpath")
Shell("InternetExplorer.application")

all attempts failed. Any help would be greatly appreciated thanks.
Jul 21 '05 #1
3 19623
Hi,

Use Process.Start("IExplore.exe", "http//localhost");

--
Regards,
Peter Jausovec
(http://blog.jausovec.net)
"Schlauberger" <Sc**********@discussions.microsoft.com> je napisal v
sporočilo news:1B**********************************@microsof t.com ...
I am currently migrating over from VB6 and I can't see to find a way to
launch a webpage in internet explorer from a hyperlink on a form.

There must be an easy way to accomplish this? I tried:

System.Diagnostics.Process.Start("Explore.exe", "http//webpath")
System.Diagnostics.Process.Start("http//webpath")
Shell("InternetExplorer.application")

all attempts failed. Any help would be greatly appreciated thanks.

Jul 21 '05 #2
Worked like a charm many thanks!

"Peter Jausovec" wrote:
Hi,

Use Process.Start("IExplore.exe", "http//localhost");

--
Regards,
Peter Jausovec
(http://blog.jausovec.net)
"Schlauberger" <Sc**********@discussions.microsoft.com> je napisal v
sporoèilo news:1B**********************************@microsof t.com ...
I am currently migrating over from VB6 and I can't see to find a way to
launch a webpage in internet explorer from a hyperlink on a form.

There must be an easy way to accomplish this? I tried:

System.Diagnostics.Process.Start("Explore.exe", "http//webpath")
System.Diagnostics.Process.Start("http//webpath")
Shell("InternetExplorer.application")

all attempts failed. Any help would be greatly appreciated thanks.


Jul 21 '05 #3
This will open the link in a user's default browser:

Help.ShowHelp(this, url);

HTH,
Alexander Shirshov

"Schlauberger" <Sc**********@discussions.microsoft.com> wrote in message
news:1B**********************************@microsof t.com...
I am currently migrating over from VB6 and I can't see to find a way to
launch a webpage in internet explorer from a hyperlink on a form.

There must be an easy way to accomplish this? I tried:

System.Diagnostics.Process.Start("Explore.exe", "http//webpath")
System.Diagnostics.Process.Start("http//webpath")
Shell("InternetExplorer.application")

all attempts failed. Any help would be greatly appreciated thanks.

Jul 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Joris VI | last post: by
3 posts views Thread by Anand Ganesh | last post: by
7 posts views Thread by Stewart Saathoff | last post: by
3 posts views Thread by Schlauberger | last post: by
2 posts views Thread by swethak | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Purva khokhar | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.