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
Sub test()
Dim hwnd As Long
ShellExecute hwnd, "open", "http://www.hi-tech.ece.fr", "", "", 1
End Sub |