Jobs
Author: Joe Rohrbach Date Submitted: 11/22/1998 Category: Internet Compatibility: VB 6,VB 5,VB 4/32 This code has been accessed 51003 times.
Email Yourself this snippet:
'used for shelling out to the default web browser Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long Public Const conSwNormal = 1
Code
ShellExecute hwnd, "open", "http://www.vbcode.com", vbNullString, vbNullString, conSwNormal