Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I launch a windows program while in FoxPro?
Message
De
05/04/2000 23:29:08
 
 
À
05/04/2000 21:51:42
Dwight Lind
Land Engineering, Llc
Tucson, Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00356032
Message ID:
00356068
Vues:
20
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform