Tools Links Login

Open your Default Browser to a Website

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.

Original Author: Stephen Glauser

Inputs

URL

Code

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

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 101 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.