Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run a DOS aplication
Message
From
26/07/1999 12:29:50
 
 
To
26/07/1999 10:52:49
Arturo Valdez
SAYD - Software, Asesoria Y Desarrollo
Culiacán, Mexico
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00246074
Message ID:
00246141
Views:
17
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform