Solved

How to wake PC from standby programmatically without Wake on LAN

Posted on 2004-08-25
5
1,269 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
  • 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 3

Expert Comment

by:Scoobyed
ID: 11891652
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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now