Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run a windows exe from Fox
Message
From
18/09/2001 11:17:25
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
18/09/2001 11:08:13
Denis Filer
University of Oxford
United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00557865
Message ID:
00557874
Views:
20
>Is there a simple way to fire up a small windows exe prog from inside my Fox app - as in the MSDOS ! and RUN commands. I know how to automate e.g. Word but can't seem to start another small exe. Createprocess?? Excuse ignorance ... and thanks.

Probably other members of the UT will jump in and show how to use the Windows API. However, the simplest method is:
* Example: run calculator
run /n calc.exe
HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform