Hi All,
Using VFP6
I'm calling an external program from a modal form using the API CreateProcess() function using the technique described here
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q191/5/84.asp&NoWebContent=1 to cause my app to wait for the external executable to finish. The external executable does have a UI with a window displayed in front of my app.
The problem is that if I switch back to my app before closing the external program, the modal form no longer has the same behaviour in that another form can be activated. The problem here is that the modal form's calling form occupies the entire screen and its "movable" property is set to .F. so the modal form "disappears" behind the calling form and cannot be reactivated. From a user's perspective, the app is hung.
Is there some way around this behaviour ? Even making my app unavailable while the external program executes would be OK. The user should not be switching back to it anyway.
Thanks,
Carl
Carl Chambers
Cardol Data Systems