how to disable the mouse and the keyboard
Hi
I'm working into a project , that can allow me to automate some tasks , but i don't want the user to have access to the keyboard and the mouse during this process , i have found some way to desable the mouse and the keyboard thank's to the rundll32.exe , but it doesn't works into windows xp .
Can you help me .
thank you.
Re: how to disable the mouse and the keyboard
In VB6 I've used this before,
Declare Function BlockInput Lib "user32" (ByVal fBlock As Long) As Long
' lock
BlockInput True
' unlock
BlockInput False
MSDN:BlockInput Function