Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run a windows program from within VFP6 app
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00415851
Message ID:
00416968
Vues:
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.

< 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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform