VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Idle Auto away

Frédéric Thibault  (1 Submission)   Windows API Call/Explanation   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

this code show how to make an Auto Away like ICQ with Windows Api call GetLastInputInfo. Only work on Nt, 2000, and Xp not on 98,me...

Assumes
The value return to dwtime is the last time when the user move the mouse or use the keyboard. The time begin when the session is open. Put a Timer and a textbox on a form. Name the textbox text1 and timer timer1 and copy and past this code.

Rate Idle Auto away (2(2 Vote))
Idle Auto away.bas

Idle Auto away Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters