
Disable the use of keyboard and mouse in visual basic 5.0
This will only work for that application. It will not work for the rest of
the system (if that application is not active.) You may be able to have it
work fot the system by keeping the window active.
Jeffrey Levy
Quote:
>Marc,
> To disable the keyboard, I think you should be able to set the KeyPreview
>property of your form(s) to True, which will cause the form to see any
>keystrokes before any control does, and then in the form event
Form_KeyPress
>you can change the "keyascii" parameter to 0 which cancels the keystroke. I
>don't know about the mouse.
>Mike
>> Hi all,
>> I am writing a program, now i want to make an application that disables
the
>> use of the keyboard and mouse.
>> But i don't have a clue how to handle this
>> Please help me,
>> reply or e-mail me on