VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Open your Default Browser to a Website

by Stephen Glauser (3 Submissions)
Category: Internet/HTML
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating: (38 Votes)

This is a simple, yet very useful One Line code, that will open your (the user) Default Web Browser, and send you to a user specified URL.

Inputs
URL

Rate Open your Default Browser to a Website

Sub OpenUrl(URL As String)
Rem Written by Stephen Glauser
Rem Last Update: August 1, 1999
Rem This will the users Default Web Browser
Rem and send them to the specified URL
Rem Call OpenUrl("http://www.microsoft.com")
Shell ("Explorer " & URL$), vbNormalNoFocus
End Sub

Download this snippet    Add to My Saved Code

Open your Default Browser to a Website Comments

No comments have been posted about Open your Default Browser to a Website. Why not be the first to post a comment about Open your Default Browser to a Website.

Post your comment

Subject:
Message:
0/1000 characters