JLRodgers Level: Moderator
 Registered: 04-04-2002 Posts: 1617
|
Re: Mail
If you execute the "mailto:someone@someplace.com" it'll run the default mail client.
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
Const SW_SHOWNORMAL = 1
Private Sub Form_Load()
ShellExecute Me.hwnd, vbNullString, "mailto:someone@someplace.com", vbNullString, "", SW_SHOWNORMAL
End Sub
|
____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)
|