Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows Scripting Host and sleep
Message
De
13/06/2008 13:38:26
Tim Muller
Innovative Solutions, Inc.
West New York, New Jersey, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01322568
Message ID:
01323917
Vues:
22
Sergey--

>>I need to have VFP run the WSH Sleep method (rather than having VFP call the Win32 API Sleep directly). I can get WSH to activate an application and send key strokes to the app. But I can't figure out how to call the WSH Sleep method.
>
>You cannot. See mskb #279164 Certain WScript methods and properties not accessible in Visual Basic.
>What's wrong with the Win32 API Sleep ?

My Win32 API Sleep problems were all due to the notorious Fat Brain syndrome.

Thanks for the help.


Tim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform