Hi,im a fairly new vb programmer and i was curious....
is there a way to actualy STOP people from using keystrokes like alt-f4,ctrl-alt-delete,[windows key] etc....
any response would be appreceated
Printable View
Hi,im a fairly new vb programmer and i was curious....
is there a way to actualy STOP people from using keystrokes like alt-f4,ctrl-alt-delete,[windows key] etc....
any response would be appreceated
VB Code:
Private Declare Function BlockInput _ Lib "user32" _ (ByVal fBlock As Long) As Long Private Sub DoSomething() 'Turn off keyboad and mouse BlockInput True 'do your stuff here 'Turn on keyboad and mouse BlockInput False End Sub