>This works for w2k workstations, but most of my users are win95. Also, I need to be able to kick it in automaticly whenever the user doesn't do anything for x minutes. They have already said no to using the windows screen saver. They really want the application to log off.
>
Kirk,
Does this mean that you couldn't use the screen saver as an indicator? What I'm thinking is a timer that checks whether or not it's running via the SystemParametersInfo API call with SPI_GETSCREENSAVERRUNNING as the desired information. What you could do is check that, and if it was, shut the application.
George
Ubi caritas et amor, deus ibi est