Hi I'm doing my (Final Year Project)FYP project, VB language!
Does anyone out there know how to disable minimize, maximize & close buttons on a form??, and also
1)ALT + F4
2)ALT + TAB
3)CTAL + ALT + DLT ?????
for the Close button, I've already manage to do it myself, see the coding below...
'Prevent User to close the form
If e.CloseReason = CloseReason.UserClosing Then
e.Cancel = True
End If
'Allow user to close the form
If Security = 1 Then
e.Cancel = False
End If
Someone Please Help Me :( Thank you.
Does anyone out there know how to disable minimize, maximize & close buttons on a form??, and also
1)ALT + F4
2)ALT + TAB
3)CTAL + ALT + DLT ?????
for the Close button, I've already manage to do it myself, see the coding below...
'Prevent User to close the form
If e.CloseReason = CloseReason.UserClosing Then
e.Cancel = True
End If
'Allow user to close the form
If Security = 1 Then
e.Cancel = False
End If
Someone Please Help Me :( Thank you.