>>I need to run an external program from within FoxPro 2.6 for Windows application and get a return value from the program to know whether it was successful or not. I can use the RUN command to run the program, the program returns a value upon exit, but how do I get that value into FoxPro?
>>
>>Shane
>
>Can you write the result of the program to a file of some sort and have FP read the file when it appears?
>
>
>Wayne
Yes I can do it that way, but I wanted to just pass the exit code to FoxPro, but I don't think I can. I am playing with using an environment variable now, if that doesn't work I'll just create a text file with the result.
--Shane