>From looking at the VFP help file, it claims that when you issue the RUN command, VFP looks for foxrun.pif in the current directory in order to get default settings for the DOS window. We have a foxrun.pif in our application directory which has settings such as run minimized, but that setting are not used when we issue a RUN command from the application. Any ideas?
>
>Oh, by the way, if we double-click on foxrun.pif from explorer, it does run minimized, just not when called from VFP.
>
rather than use RUN, you can use my API_APPRUN class, available for download from UT. It provides considerably more control over the Windowstate of the launched application, and can either 'fire and forget' or wait until the other application completes before return control to VFP. It also allows you topoll the termination code for the launched application to retrieve the final error code returned at application shutdown, or to poll whether the application is still running. There was a thread on how to use this within the past couple of days, using PKZIP as an example application.