Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I launch a windows program while in FoxPro?
Message
From
05/04/2000 23:29:08
 
 
To
05/04/2000 21:51:42
Dwight Lind
Land Engineering, Llc
Tucson, Arizona, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00356032
Message ID:
00356068
Views:
14
>I am trying to copy some files to specific directories and then lauch a windows based program. The program is an exe file. Any problems when I close launched windows program? Would appreciate any help. I have VFP 5.0 Thanks

You can use the RUN /N syntax; if you need to wait on the launched app to terminate, or monitor its exit code, you might want to use my API_APPRUN class, downloadable from here on UT, or the Wscript.Shell's Run method, which can wait on termination.
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