>I need to launch the default e-mail client with the new message. The problem is I don't know what kind of e-mail client it is going to be. Basically what I need to accomplish exists, for example, in Microsoft Word: choose File\Send To\Mail Recipient from the menu, and the default e-mail client with the new message pops up. I need to do the same thing but from VFP.
You can use the ShellExecute() API call or FFC class to launch a message, or Shell.Application can launch it (what i normally use)
oShell = CREATEOBJ('Shell.Application')
oShell.Open('mailto:
edrauh@earthlink.net')
or
DECLARE INTEGER ShellExecute IN SHELL32 INTEGER, STRING, STRING, STRING, STRING, INTEGER
=ShellExecute(0,'OPEN','mailto:
edrauh@earthlink.net','','',1)
or the FFC class, yadda yadda yadda...