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?
Printable View
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?
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.
Cheers :) Works like a peach \o/