Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opening default email client from VFP
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01459420
Message ID:
01459423
Views:
111
>Hi
>
>I normally send email directly ftom VFP but my Client wants to open Outlook or Eudora or whatever is the default email Client on the system
>
>How do I do this?
>
>Colin

This will open the default mail client


DECLARE INTEGER ShellExecute IN shell32.dll ;
INTEGER hndWin, STRING cAction, STRING cFileName, ;
STRING cParams, STRING cDir, INTEGER nShowWin

lcMail = "mailto:colin@colinnorthway.com"
ShellExecute(0,"open",lcMail,"","",1)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform