by Faris Mlaeb (7 Submissions)
Category: Windows System Services
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 20th March 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Disable the mouse and disable the keyboard. Use with caution or you will need to reboot to get these functions back.
API Declarations
'Have fun
'None
'
' you will need a command button named :command1 ... caption "Disable the Keyboard"
' you will need a command button named :command2 ... caption "Disable the Mouse"
private sub command1_click()
dim aa
aa=shell("rundll keyboard,disable") 'this line will disable the Keyboard
private sub command2_click()
dim aa
aa=shell("RUNDLL MOUSE,DISABLE") 'this line will disable the Mouse
'some time to reactive them you may need to restart
'I hope you like it
'Thank you for reading this Code
'Faris Mlaeb
'[email protected]
No comments have been posted about Disable the mouse and disable the keyboard. Use with caution or you will need to reboot to get thes. Why not be the first to post a comment about Disable the mouse and disable the keyboard. Use with caution or you will need to reboot to get thes.