I've got a Visual FoxPro application that needs to open a DOS command window, run a FORTRAN program in the window, and provide the user the ability to cancel the FORTRAN program and close the DOS window. Currently, I'm using a ShellExecute call to run the FORTRAN program in a DOS window. The program can be canceled by manually selecting the DOS window and typing ctrl-c. Can I cancel the program and close the DOS window programatically with API calls? I'll be doing this from Visual FoxPro v7.
Thanks for any help.
Thanks for any help.