About the Sleep Function

AEIOU
12-22-2001, 08: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

Volte
12-22-2001, 09: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