Hi! How can I launch the default email utility
(Outlook Express/Netscape Communicator) using
VB 6.0?
Printable View
Hi! How can I launch the default email utility
(Outlook Express/Netscape Communicator) using
VB 6.0?
Code:'launch default email program and send 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 = 5
'form code
ShellExecute hwnd, "open", "mailto:[email protected]", vbNullString, vbNullString, SW_SHOW
Thanks HeSaidJoe...
another question... what if I want to read my emails?
How can I open the default Email Inbox?
Sorry, I only have code for things I have used. You can go here and I think you might find what you are after.
Later,
Wayne
http://www.planet-source-code.com/vb...lngWId=1&B1=Go