Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run a windows program from within VFP6 app
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00415851
Message ID:
00416965
Views:
34
>>>>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.
>
>You mean:
DECLARE Sleep IN Win32API;
>  INTEGER dwMilliseconds
>* Sleep for 1/10th of a second
>= Sleep(100)
LOL ... when I first wrote the post about calling the API, I wrote: "Ed or George", then changed it to "someone". Looks like I should have just left it.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform