Rajesh Karunakaran
Programmer
Hi Team,
I have a command line utility to send emails. After its execution it returns Exit Codes or Error Levels from which we would know if it went well or the kind of error it generated.
I am executing the utility from within VFP using ShellExecute. Everything is fine. However, I am not able to find a way to retrieve the Exit Code returned by the utility. I have seen a few write-ups but they're all regarding setting up a batch file. But, I think, to involve a batch file is not my appropriate solution as I am calling this utility in the middle of a functional process running inside a form.
Thanks in advance for the suggestions/advises.
Rajesh
I have a command line utility to send emails. After its execution it returns Exit Codes or Error Levels from which we would know if it went well or the kind of error it generated.
I am executing the utility from within VFP using ShellExecute. Everything is fine. However, I am not able to find a way to retrieve the Exit Code returned by the utility. I have seen a few write-ups but they're all regarding setting up a batch file. But, I think, to involve a batch file is not my appropriate solution as I am calling this utility in the middle of a functional process running inside a form.
Thanks in advance for the suggestions/advises.
Rajesh