nResult = Shell("start.exe mailto:[email protected]", vbHide)

解决方案 »

  1.   

    Option ExplicitPrivate 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 Command1_Click()
        Shell "start.exe mailto:[email protected]", vbHide
    End SubPrivate Sub Command2_Click()
        ShellExecute Me.hwnd, "Open", "mailto:[email protected]", "", App.Path, 1
    End Sub
      

  2.   

    St= Shell("C:\Program Files\Outlook Express\msimn.exe", 1)