'Send E_mail 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 Const SW_SHOW = 5Private Sub Label1_Click() ShellExecute hwnd, "open", "mailto:aaa@bb", vbNullString, vbNullString, SW_SHOW End Sub
Shell "C:\Program Files\Outlook Express\msimn.exe"
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 Const SW_SHOW = 5Private Sub Label1_Click()
ShellExecute hwnd, "open", "mailto:aaa@bb", vbNullString, vbNullString, SW_SHOW
End Sub