• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2251
  • Last Modified:

How to launch internet explorer from within VB Code

Hi Experts,

How do launch internet explorer from within my VB.Net 2005 application and also specify the URL that must be opened?

I assume that I will create a new System.Diagnostic.Process and then set the path as IE's exe but how do I include the URL that must be opened .....

Thanks
0
PantoffelSlippers
Asked:
PantoffelSlippers
  • 2
2 Solutions
 
PaulHewsCommented:
You can launch the default browser like this:

Process.Start("http://www.google.com")

If it has to be IE, you can do this:

Process.Start("iexplore", "http://www.yahoo.com")
0
 
TimCotteeCommented:
System.Diagnostics.Process.Start("http://www.experts-exchange.com")

For example.
0
 
PantoffelSlippersAuthor Commented:
Thank you experts!
0
 
PantoffelSlippersAuthor Commented:
Thank you
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now