Abel
Aug 16th, 2000, 08:09 AM
How do I make a link ( or bookmark) from my vb program to be opened in Netscape or Explorer ??
Private 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
Private Sub GoToWeb(TheURL As String)
Call ShellExecute(0&, vbNullString, URL, vbNullString, "C:\", 1)
End Sub
[Edited by denniswrenn on 08-16-2000 at 09:41 AM]