Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Instigating outlook express in vfp
Message
From
07/10/2004 07:15:45
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00949284
Message ID:
00949473
Views:
13
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 )
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform