Have you tried calling it with params passed by reference. You may have to do a slight revision to the exe to allow for the param being returned by reference.
Do myEXe.exe with tcParam1, tcParam2, @tcMyREturnVal
HTH
Richard
>If I have a EXE that I call from within Foxpro8 that returns a String value, How do I make the call to get the value. Example "Do MyExe.EXE with tcParam1, tcparam2" Calls the exe Fine, but "Do MyExe.EXE with tcParam1, tcparam2 To myReturn" is not allowed as is "MyReturn = Do MyExe.EXE with tcParam1, tcparam2"
>
>Any advice would be highly appreciated.
State of Florida, DCF