Results 1 to 2 of 2

Thread: Standby Mode

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 1999
    Location
    Harrington, DE USA
    Posts
    21

    Post

    Do anyone know how to put a computer into standby mode through code?

    TIA,
    XinMan

  2. #2
    Junior Member
    Join Date
    Jun 1999
    Location
    St. Louis MO USA
    Posts
    18

    Post

    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
  •  



Click Here to Expand Forum to Full Width