Please help me, URGENT !!!!!!!!
How do I disable the mouse and the keyboard????
Exists any API?
How use it?
Please help me ASAP
Thanks
Printable View
Please help me, URGENT !!!!!!!!
How do I disable the mouse and the keyboard????
Exists any API?
How use it?
Please help me ASAP
Thanks
To disable the Keyboard. Set the form's KeyPreview property to True and put the following code in the Fomr's KeyPress event.
To disable the Mouse, follow this link. http://www.planet-source-code.com/vb...txtCodeId=3208Code:Private Sub Form_KeyPress(KeyAscii As Integer)
' Resets the Key so no key is pressed
KeyAscii = 0
End Sub
I mean, disable the keyboard and the mouse.
The PC doesn´t receive any signal from Keyboard or Mouse.
Please!!!!
Both will lock the KeyBoard and the Mouse. They Keyboard one will simulate a lock because the key will always be reset to 0.
KeyASCII=0 sends a null chart, and it´s invisible
Do you want to completely lock the system, as if someone checked the Disable box of the Mouse or KeyBoard in the Control Panal?
See if this is what you want. http://www.planet-source-code.com/vb...xtCodeId=6185.
You can manipulate the code as desired so the passwording is out and only the freezing is left.
Hi,
u can use the clipcursor and showcursor APIs to disable the mouse. clipcursor restricts the mouse movement to a particular area and showcursor can hide the mouse cursor.
I agree with you Rammy, but I think he doesn't want one single signal to be sent to the mouse. If those API are used, will it send any signals?Quote:
Originally posted by Rafael
I mean, disable the keyboard and the mouse.
The PC doesn´t receive any signal from Keyboard or Mouse.
Please!!!!
Ok, my friend, it works to disable, but I was trying
Shell "rundll32 mouse,enable"
to enable the mouse again, and it didn't work.
How do I do???
Thanks for your help!!!!
Megatron, I am using NT. I think the codes for this site that you recommended does not work for NT.
To disable the Mouse, follow this link. http://www.planet-source-code.com/vb...txtCodeId=3208