Click here to Skip to main content
15,917,540 members
Home / Discussions / C#
   

C#

 
AnswerRe: close one form and start another Pin
Thomas Stockwell2-Oct-08 7:42
professionalThomas Stockwell2-Oct-08 7:42 
AnswerRe: close one form and start another Pin
Dan Neely2-Oct-08 7:43
Dan Neely2-Oct-08 7:43 
GeneralRe: close one form and start another Pin
TerRO_GirL2-Oct-08 9:31
TerRO_GirL2-Oct-08 9:31 
AnswerRe: close one form and start another Pin
nelsonpaixao2-Oct-08 14:04
nelsonpaixao2-Oct-08 14:04 
GeneralRe: close one form and start another Pin
TerRO_GirL2-Oct-08 23:18
TerRO_GirL2-Oct-08 23:18 
GeneralRe: close one form and start another [modified] Pin
nelsonpaixao3-Oct-08 5:35
nelsonpaixao3-Oct-08 5:35 
Questionloading webbrowser control Pin
netJP12L2-Oct-08 5:40
netJP12L2-Oct-08 5:40 
QuestionDetecting Power Button pressed Pin
pbeeby2-Oct-08 3:40
pbeeby2-Oct-08 3:40 
I have been trying to detect when the power button has been pressed on a system (winXP) however so far i have been unsuccessful. I have tried useing WMI and monitoring the Win32_PowerManagementEvent but i only seem to be able to pick up a battery insertion/removal on a laptop and on a desktop it doesn't pick up anything. Is it actually possible to detect the button press and if so can some one point me in the direction of how to do it?

Thanks for any assistance offered,

P
AnswerRe: Detecting Power Button pressed Pin
#realJSOP2-Oct-08 4:34
professional#realJSOP2-Oct-08 4:34 
GeneralRe: Detecting Power Button pressed Pin
pbeeby2-Oct-08 4:43
pbeeby2-Oct-08 4:43 
GeneralRe: Detecting Power Button pressed Pin
Giorgi Dalakishvili2-Oct-08 5:01
mentorGiorgi Dalakishvili2-Oct-08 5:01 
GeneralRe: Detecting Power Button pressed Pin
Dan Neely2-Oct-08 5:10
Dan Neely2-Oct-08 5:10 
GeneralRe: Detecting Power Button pressed Pin
#realJSOP2-Oct-08 6:36
professional#realJSOP2-Oct-08 6:36 
AnswerRe: Detecting Power Button pressed Pin
Vasudevan Deepak Kumar2-Oct-08 8:02
Vasudevan Deepak Kumar2-Oct-08 8:02 
JokeRe: Detecting Power Button pressed Pin
nelsonpaixao2-Oct-08 14:08
nelsonpaixao2-Oct-08 14:08 
AnswerRe: Detecting Power Button pressed Pin
pbeeby3-Oct-08 0:56
pbeeby3-Oct-08 0:56 
QuestionInterfacing with hardware through RS232 Pin
Sandeep Ambade2-Oct-08 3:19
Sandeep Ambade2-Oct-08 3:19 
AnswerRe: Interfacing with hardware through RS232 Pin
Giorgi Dalakishvili2-Oct-08 3:42
mentorGiorgi Dalakishvili2-Oct-08 3:42 
GeneralRe: Interfacing with hardware through RS232 Pin
Sandeep Ambade2-Oct-08 22:15
Sandeep Ambade2-Oct-08 22:15 
AnswerRe: Interfacing with hardware through RS232 Pin
Spacix One2-Oct-08 8:54
Spacix One2-Oct-08 8:54 
GeneralRe: Interfacing with hardware through RS232 Pin
Sandeep Ambade2-Oct-08 22:16
Sandeep Ambade2-Oct-08 22:16 
QuestionWMI code creator Pin
arkiboys2-Oct-08 3:02
arkiboys2-Oct-08 3:02 
AnswerRe: WMI code creator Pin
#realJSOP2-Oct-08 11:23
professional#realJSOP2-Oct-08 11:23 
GeneralRe: WMI code creator Pin
arkiboys2-Oct-08 21:23
arkiboys2-Oct-08 21:23 
QuestionI want to Set focus of combo from Textbox Pin
Chetan Patel2-Oct-08 2:19
Chetan Patel2-Oct-08 2:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.