Click here to Skip to main content
15,889,610 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can I open Web Browser in VB6 application with a web address?
Posted

Hi,
here is your code-
VB
shell "C:\Program Files\Internet Explorer\IEXPLORE.EXE http://www.google.com"
 
Share this answer
 
What will happen when Internet Explorer isn't installed in this path? I think you should use this code:
VB
Shell "explorer.exe <your url=""></your>

It will call browser automatically :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900