About the Sleep Function

12-22-2001, 09:51 PM
Hi, I don't know how to work the sleep function, is it something I have to define, or is it an API, I'm lost, if someone could please help, thanks

12-22-2001, 10:12 PM
<pre>Declare Sub Sleep Lib "kernel32" Alias "Sleep" (ByVal dwMilliseconds As Long)</pre> is the API declare. Then you use <pre>Sleep 5 * 1000</pre> or whatever. 1000 would be 1 second.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum