Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows Scripting Host and sleep
Message
 
 
To
09/06/2008 11:29:47
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
01322568
Message ID:
01322598
Views:
19
>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 ?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform