Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run a DOS aplication
Message
De
26/07/1999 12:29:50
 
 
À
26/07/1999 10:52:49
Arturo Valdez
SAYD - Software, Asesoria Y Desarrollo
Culiacán, Mexique
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00246074
Message ID:
00246141
Vues:
22
>I want to run a MS-DOS aplication from VFP with the command RUN , is a BATch file, but when the aplication is finish a windows pop-up appear on the screen and says that i have to click 'ctrl+c' to close that windows, i try making closable after finish on the propertys of that batch file, but dosnt work the window still appear...can somebody have another answer to this ?
>

You'll need to create a .PIF file for the batch file, that specifies Close After Exit, and then execute the batch file using something like the FFC ShellExecute class (uses the ShellExecute() API call) or my API_APPRUN class (uses Createprocess()) rather than RUN.

>Thanks in advance....
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform