I would like to be able to detect if the computer has either gone to sleep or the screen saver has activated so my program can lock itself. How can I detect this? Bill Vlahos