EmailByShell("mailto:somebody@somewhere.com?subject=ShellExecute in VFP&body=I just discovered this and thought you might like it.") FUNCTION EmailByShell LPARAMETERS lpcMailTo IF VARTYPE(m.lpcMailTo)="C" AND ; NOT EMPTY(m.lpcMailTo) ; THEN DECLARE INTEGER ShellExecute IN "Shell32.dll" ; INTEGER hwnd, ; STRING lpVerb, ; STRING lpFile, ; STRING lpParameters, ; STRING lpDirectory, ; LONG nShowCmd RETURN Shellexecute(0,"open",m.lpcMailTo,"","",1) ENDIF ENDFUNC && EmailByShell
"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."
- Ephesians 4:29-30 NIV
Dare to Question -- Care to Answer
Time is like water in a sponge, as long as you are willing you can always squeeze some.
--Lu Xun, Father of Modern Chinese Literature