|
-
Mar 14th, 2007, 07:15 AM
#1
Thread Starter
Addicted Member
[RESOLVED] Sleep?
Hi Everyone,
I used the below for sleeping in vb6, but how do I sleep in vb.NET 2005?
The Sleep Windows API function lets you put the application to sleep. Enter the
following declaration into a standard module.
Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Then, simply call the function from your code, as in:
Sleep 5000
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|