By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,870 Members | 2,457 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,870 IT Pros & Developers. It's quick & easy.

Putting the computer to sleep and having it automatically wake

P: 30

I currently have a VB program that uses the Shell command to shut it down. I use shutdown -f to shut the computer down.

I was wondering if anyone knows what I can use to put the computer to sleep (S3 mode) and at the same set it to wake up at a certain time?

I know there are programs that can do that but I need to a command that I can use in VB using Shell.

Jun 20 '08 #1
Share this Question
Share on Google+
2 Replies

Expert 100+
P: 2,364
I googled this for ya but could not find a bit of code that would help make it happen. I did however find you a shareware:

If all else fails, give that a go!

Jun 21 '08 #2

P: 30
Yeah it's a tricky one. Thank for trying to look it up. I know it can be done because there are programs that do it.

It should also be able to be done through Hibernation like TV Tuner cards do. You can set a program to be recorded at a certain time, and the computer will be placed into hibernation mode and will wake at the of the recording.

I just haven't been able to find any code for it. I might have to contact one of the developers of some freeware software and see if they can help me.

Jun 21 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.