Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP and DOS programs
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00160839
Message ID:
00160860
Views:
24
Hi Mike,

>I was wondering, does the run command still work for DOS programs?
>Also, if it does, does it open a window while it is happening.
>If it does open a window, is there a way of not showing it.

Yes to both questions. However, I wouldn't use RUN to execute the program. Rather I'd use the ShellExecute() and send it the name of a shortcut to the program I'd want to execute. You can create a short cut by right clicking on the executable file name. You can then edit it, to run it in a minimized window and automatically close on program termination. You could optionally use the ShowWindow() API call to hide it completely.

>Also, will it stop processing while the DOS program is running?
>(i.e. wait till the DOS app has completed.)

No
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform