Hi richard, when you say locked do you mean hung or disabled ?
i'm talking about the windows itself, do you have idea how can a vb program will know if your windows system was locked... it seems like pressing your CTRL-ALT+DEL keys... a Windows Security will pop-up.
Currently, i'm dealing with a biometrics system. if you remove the card, the windows will be locked. now for this case, how can a vb program will detect if card was removed?