Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FOXRUN.PIF
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00191925
Message ID:
00191940
Views:
21
>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.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform