Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Keyboard Commands (Executing Browsers)

Status
Not open for further replies.

kaylabear

Programmer
Oct 23, 2002
59
CA
Hello,

I'd like to know how to execute "Internet Explorer" and/or "Netscape" with a single command, I'd also like to point to a specific URL.

So when my visual basic application ends, it will open the user's browser and point them to my website.

Your help is greatly appreciated

Thank You.
 
Try this:

Code:
Dim strURL As String

strURL = "[URL unfurl="true"]http://www.google.com"[/URL]

shell("rundll32.exe url.dll,FileProtocolHandler " & strURL)
VBSlammer
redinvader3walking.gif

Unemployed in Houston, Texas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top