Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to send e-mail from Vfp
Message
From
07/10/1998 06:36:10
 
 
To
07/10/1998 03:50:07
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00144474
Message ID:
00144492
Views:
17
>When I was creating About dialog window, I wanna the user could press the underlined e-mail addr. to give me a e-mail to keep in touch with me ! But how can I do that!

Assuming that a MAPI client is installed, you can use ShellExecute() to start a mail message; or even the following:
oShellObj = CREATEOBJ('Shell.Application')
oShellObj.Open('mailto:edrauh@earthlink.net')
which would start the user's default mailer and create a message to me; you could substitute your own email address pretty easily. You'll want some error handling in case there's no MAPI client installed.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform