Click to See Complete Forum and Search --> : How do I open the default browser?


Cheeko
April 15th, 2003, 08:27 PM
How do I open the default browser using code in vb?

I presume I would have to use Shell(), but I dont know how to retrieve the location of the default browser.

Any ideas?

DSJ
April 16th, 2003, 08:10 AM
Read up on the Process class and Process.StartInfo structure. It'll do what you want if you pass a URL as the filename member and "open" as the verb.

Cheeko
April 16th, 2003, 10:38 AM
Cheers :) Works like a peach \o/