PDA

Click to See Complete Forum and Search --> : Link


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 ??

Aug 16th, 2000, 08:39 AM
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]

Aug 17th, 2000, 09:39 AM
oops... hehe