Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
is there any method in Java to make windows system in standby mode
Posted

I think the only way you could get close to this is by using a JNI or JNA call to the native Windows ExitWindowsEx[^] function, although that does not offer a standby option.
 
Share this answer
 
oh thanks for your answer,
but my problem is i can access processes list which we can see in "Task manager".
Is there any method to block particular process in list using Java?
 
Share this answer
 
Comments
Richard MacCutchan 19-Jul-10 11:41am    
I don't know what you mean by "block process", but I expect the answer would be no.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900