if vartype(gotimer_inactivity)="o" * the countdonw began again gotimer_inactivity.Reset() endifThe same code that you were setting the Interval needs to be modified to call Reset. However, I wouldn't recommend using the MouseMove event. This occurs too often for my tastes. The event can also occur because of vibrations of your computer's internal fan. No one is there but the mouse imperceptably moves.
With _Screen for lxx = .FormCount to 1 step -1 if upper(.Forms[lxx].BaseClass) = "FORM" then if .Forms[lxx].QueryUnload() then .Forms[lxx].Release() else * you can't close the form; you need to figure out a way of exiting from the form gracefully endif else * object is probably a toolbar so you may or may not need to release it endif endfor Endwith2. "Logging" current out of your application. WHat does this mean? Give them a new login screen or totaslly exit the application.