I am making an application. I want to prohibit the computer from shutting down until the application is complete. How can this be done? I think I have heard of a system control of some sort that can monitor sleep mode and such, and I figure it could handle this as well. If there is a more direct route that does not require a control, such as some kind of global hook procedure, that would very helpful. Thank you very much. Happy Holidays.

Joe