Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Instigating outlook express in vfp
Message
 
À
07/10/2004 07:15:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00949284
Message ID:
00949559
Vues:
15
>I was looking for the syntax to bring up outlook express by starting a new message and have the body filled with the contents of current any given dbf.
>
>This should help get you started:
>
>
>#DEFINE SW_SHOWNORMAL     1
>#DEFINE SW_SHOWMINIMIZED  2
>#DEFINE SW_SHOWMAXIMIZED  3
>lcFileName = "mailto:anita@drink.com?Subject=yada yada&Body=this is a test"
>DECLARE INTEGER ShellExecute IN shell32 ;
>        INTEGER lnhwnd, STRING lcOperation, ;
>        STRING lcFile, STRING lcParameters, ;
>        STRING lcDirectory, INTEGER lnShowCmd
>lnRes = ShellExecute( 0, "open", lcFileName, "", "", SW_SHOWMAXIMIZED )
>
This practically works. Now the trick is how to replace yada with a var that is my actual subject and the "this is a test" with another var or field?
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform