Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to send e-mail from Vfp
Message
De
07/10/1998 06:36:10
 
 
À
07/10/1998 03:50:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00144474
Message ID:
00144492
Vues:
18
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform