Ummmm You have to edit the event of alt f4 like this
Code:Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyDown ' Code to Override the Alt-F4 keys combination If e.KeyData = Keys.Alt + Keys.F4 Then 'nothing End If End Sub
my guess..but I'm a noob
Edit: You forgot about Window's button