How about try SetSuspendState() from powrprof.dll
[DllImport("powrprof.dll")]
private static extern bool SetSuspendState(bool Hibernate, bool
ForceCritical, bool DisableWakeEvent);
but u need to get the window's Privilege first before u can invoke this..
"Tomomichi Amano" <to*********@hotmail.com> wrote in message
news:#Z**************@tk2msftngp13.phx.gbl...
Hello!
How can I turn the PC to Stand-by mode in a program?
Thanks in Advance!