|
-
Jan 20th, 2000, 11:10 PM
#1
Thread Starter
Junior Member
Do anyone know how to put a computer into standby mode through code?
TIA,
XinMan
-
Jan 21st, 2000, 05:00 AM
#2
Junior Member
You need to add a module like below:
Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Then in the code add something like the following:
Sleep (10000) ' puts program to sleep for about 10 seconds
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
|