How would I disable the use of keys? Ctrl+Alt+Delete

stefonalfaro

Member
Joined
Dec 3, 2007
Messages
16
Programming Experience
Beginner
I have been searching for ever and I think this may be impossible? Im not sure. I just need to know how to disable keys from being used. Because if you cant disable keys then Visual Basic is useless.
 
I believe you have to replace msgina.dll with your own copy.. Ctrl+Alt+Del actually generates an interrupt that windows listens to. The reasoon it is used to bring up the login prompt is that its very very hard to write a program that steals the login prompt to harvest passwords.

I would actually recommend that you take the approach that most internet kiosks do:

Provide a metal, indesctructible keyboard that doesnt have the left alt key present, at all
 
Yes, in the keydown event do:

VB.NET:
       If (e.Alt = True) Then
            If (e.KeyData = Keys.F4) Then
                e.Handled = True
            End If
        End If
 
Last edited:
Back
Top