MOAHAHHA i was faster than lolland: Add this to form1.load : Code: Me.KeyPreview = True And this code to form1 keydown: Code: If e.Alt = True And e.KeyCode = Keys.F4 Then e.Handled = True End If Credits to any1 on mpgh, didn't remember
Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyDown End Sub
Originally Posted by nathanael890 Thank You For The Code hejsan1 I'll Give 2 Thanks For It!!! Not a problem at all!