|
trovato...
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 BrowseTo(frm As Form, URL As String)
Call ShellExecute(frm.hwnd, vbNullString, URL, vbNullString, vbNullString, 1)
End Sub
Private Sub Form_Load()
BrowseTo Me, ("./webapps/GM/start.html")
End Sub
|