I need to call an exe from within VFP program and send the exe an argument and the receives a value back and depeding on the value I want to continue execution of the program.
I am currently doing this
lcApp = ALLTRIM(fold_loc) + ALLTRIM(exe_name)
lcParam = ALLTRIM(exe_param)
shellExecute (0,"", lcApp, lcParam,"",1)
However I cant receive the argument returned from the called application. Also shellexecute will not wait until the value is returned.
Is this possible in VFP?
Stuart Reid
True nobility lies not in being superior to another man, but in being superior to one’s previous self