VB.NET disable keyboard and mouse
I want to create a VB.NET application. when the application is open it will disable the keyboard and mouse, so if you press any keys it will do nothing and you will not be able to move the mouse. (even if the currently selected window does not belong to the application).
MUST WORK ON WINDOWS 7!
Thanks in advance.
+2
a source to share
3 answers
Both the mouse and keyboard will be completely dead when you P / Invoke BlockInput () . You will need a three-finger salute. Visit pinvoke.net for an announcement.
+2
a source to share
Take a look at global interceptors . They are bad. They are angry. But they exist because every once in a while someone really needs them.
0
a source to share