Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open a DOS windows
Message
From
11/11/2002 17:33:08
 
 
To
11/11/2002 16:24:32
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00721224
Message ID:
00721319
Views:
7
>I'll try the batch file approach.
>
>As for the "dos windows" property, well I don't think the user has time to click and change it. Sometime it runs fast. I was hoping I could change that property directly in the api_apprun itself while calling the progam. Or maybe within a global windows property. If anybody knows it being feseable please let me know.
>

You might want to play around with having VFP control the DOS console; there's a FAQ I wrote a while ago on doing this; otherwise, either pausing in a batch file or redirecting console output via either a pipe, or by a minor modification of one of the structures passed to the CreateProcess() call to accept a file handle opened for writing by your application could be made. Try piping the output directly using > or >> first.
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