>I need to RUN a DOS (vendor supplied) decryption EXE. Modifying the Fox PIF to be minimized or invisible, assuring endusers will have a modified PIF, or compatibilty of PIF in different environments, are not as simple as I would like this piece to be.
>
>Is there an API I can wrap around a DOS EXE call that will not cause the MS DOS Window to flash? If there is I would appreciate a structure and and any advice.
>
You can use my API_APPRUN class rather than RUN; it can be downloaded from the Files Section on UT. It uses the CreateProcess() API call to run the DOS executable, and can give as much or as little visibility to the DOS session as desired, with the ability to fire the app and wait on completion, or fire the app and return control to VFP, alllowing you to poll the termination status of the executable.
If you have the WSH installed, the Wscript.Shell automation object also has a RUn method. The FFC ShellExecute uses the ShellExecute() API call to perform similar functions in VFP6.
>Thanks Terry