Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Email from VFP
Message
 
À
18/09/1999 23:34:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00266439
Message ID:
00266498
Vues:
20
>I have seen VFP applications where the click event of a control brings up mail client message window with the "to" address filled in. How is this done? TIA

John,
You can use the ShellExecute API call to do this.
DECLARE INTEGER ShellExecute IN Shell.DLL INTEGER nHandle, STRING@ cOperation ;
     STRING@ cFile, STRING@ cParms, STRING@ cPath, INTEGER nShow

lnReturn = ShellExecute( 0, "open", "mailto:name@domain.com", "", "", 9)
If lnReturn is greater than 32, it was successful.
Steve Ruhl
CitiMortgage, Inc.
steven.ruhl@citibank.com Office
Steve@steven-ruhl.com Home
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform