Solved

How to wake PC from standby programmatically without Wake on LAN

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
linearIn  challenge 23 65
sumHeights  challenge 17 61
python question 5 60
base64 decode encode 12 100
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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…

746 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

12 Experts available now in Live!

Get 1:1 Help Now