Link to home
Start Free TrialLog in
Avatar of ppt
ppt

asked on

a Link to a web in a Visual Basic Program

How can I put a link to a internet web in a Visual Basic 6.0 program?
ASKER CERTIFIED SOLUTION
Avatar of rdrunner
rdrunner

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lj75
lj75

A quick way without a webbrowser object is:

shell "explorer http://www.google.com", vbMaximizedFocus

This launches windows explorer as a program and sends the URL as a parameter.
Hi

You can Try This:

Dim Res,F

F=http://neteurooeiras.com.sapo.pt
Res=shell("start" & F, 0)

opens in the same window


For WindowsXP
Res = Shell("c:\programas\internet explorer\iexplore.exe " & F,0)

this open other window in each command
Jo
Avatar of ppt

ASKER

Thanks for help :))
Accept a comment as answer please ;)
ppt:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Experts: Post your closing recommendations!  Who deserves points here?
Avatar of DanRollins
Moderator, my recommended disposition is:

    Split points between: rdrunner and JoaTex

DanRollins -- EE database cleanup volunteer