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:
00416968
Views:
36
>>>>>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.

< bg >I cheated, however. I cut it out of the WSH article in the October VFUG newsletter. (Of course, Ed and I did write that article< vbg >).
George

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

Click here to load this message in the networking platform