by tek (1 Submission)
Category: Internet/HTML
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 25th April 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Load an URL in the default web browser with one line of code.
'In a command button:
Private Sub Command1_Click()
Call Shell("start Http://www.yoururl.org", vbHide)
End Sub
'In a label:
Private Sub Label1_Click()
Call Shell("start Http://www.yoururl.org", vbHide)
End Sub