声明:

 

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

 

例子:

Dim ret&

ret& = ShellExecute(Me.hwnd, "Open", "http://www.163.com", "", App.Path, 1)

End Sub

也可以直接发送 Mail,只要把以上的 http 地址换为 "mailto:"