?
Solved

How to wake PC from standby programmatically without Wake on LAN

Posted on 2004-08-25
5
Medium Priority
?
1,281 Views
Last Modified: 2008-01-09
Hi,

I am trying to write an alarm clock program in VB .NEt and it works perfectly except that if my PC goes into stanby, the alarm clock fails to wake it up.  Is there a way to wake a PC programmatically (without Wake on LAN - this PC is standalone and does not have any network peripherals like network card/modem, etc.) once it is in standby mode?  I have seen an alarm clock program once that manges to do this on the Apple Mac but I did not see the source code for this, but I was wondering if you can do this for a PC.  I guess this must be possible, because as soon as I move the mouse, the PC wakes up  (note, it has not just switched of the monitor, the PC actually goes into a lower power mode, i.e. fan stops, etc.) so there must be something monitoring system functions in the background.

Any pointers will be greatly appreciated.

Many thanks
Vyyk
0
Comment
Question by:Vyyk_Drago
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 35

Expert Comment

by:TimYates
ID: 11890575
0
 
LVL 35

Expert Comment

by:TimYates
ID: 11890579
Sorry...that's Delphi :-(
0
 
LVL 35

Expert Comment

by:TimYates
ID: 11891876
?!?!?!

Didn't you see my first comment Scoobyed? ;-)
0
 
LVL 3

Accepted Solution

by:
Scoobyed earned 1500 total points
ID: 11900152
doh! apparently not, thought I was the first

this has put into suspend code etc. (instead of using WMI) using api
http://www.mentalis.org/soft/class.qpx?id=7
to bring out of, use same as delphi solution (with CreateWaitableTimer api - http://www.devcity.net/forums/topic.asp?tid=3640)

pay for app - http://www.programurl.com/powrclik-suite.htm

fyi - someone asking similar
http://vbcity.com/forums/topic.asp?tid=76602
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A short article about problems I had with the new location API and permissions in Marshmallow
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Simple Linear Regression

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question