Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShellExecute
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00876340
Message ID:
00876447
Views:
7
>I have written a routine, based on ShellExecute() indeed, that sends an email. If it fails, for example due to a missing email client, it will simply return false. So, you can tell the user that it fails, and eventually what caused the failure.

Peter,

I like the idea of using ShellExecute with the mailto link. I just wanted to verify with you that ShellExecute will actually return false, as opposed to producing an error. Reason I ask is because I'm curious if the ShellExecute would need to be wrapped inside of a TRY/CATCH block.

Thanks.

Laterness,
Jon
Jon Rosenbaum
Devcon Drummer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform