C Clive Poyner Jan 9, 2004 #1 Can somebody please tell me how to disable Alt-F4 in VB.Net to prevent users from closing forms?
H Herfried K. Wagner [MVP] Jan 9, 2004 #2 * "Clive Poyner said: Can somebody please tell me how to disable Alt-F4 in VB.Net to prevent users from closing forms? Click to expand... In the form's 'Closing' event handler, set 'e.Cancel = True' to stop closing the form.
* "Clive Poyner said: Can somebody please tell me how to disable Alt-F4 in VB.Net to prevent users from closing forms? Click to expand... In the form's 'Closing' event handler, set 'e.Cancel = True' to stop closing the form.