Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run a windows program from within VFP6 app
Message
From
15/09/2000 12:49:48
 
 
To
15/09/2000 11:42:00
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00415851
Message ID:
00417013
Views:
22
>>>RUN/N is supposed to be for Windows programs, not DOS programs. If you expect a file to be created, I would setup a timer and periodically check for the file.
>>
>>a "SLEEP" function would be nice!
>
>
>You can make an API call to do that. I have the code around here somewhere, but I'll bet someone will post the code before I can dig it up.

Sleep is posted in the Windows API section here on UT, and API_APPRUN has the ability to wait on a WinApp to terminate before returning control to VFP. API_APPRUN is downloadable from the Files section.
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