VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Load an URL in the default web browser with one line of code.

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.

Rate 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


Download this snippet    Add to My Saved Code

Load an URL in the default web browser with one line of code. Comments

No comments have been posted about Load an URL in the default web browser with one line of code.. Why not be the first to post a comment about Load an URL in the default web browser with one line of code..

Post your comment

Subject:
Message:
0/1000 characters