Read this last line again posted above.... also System.ComponentModel.CancelEventArgs isn't the same as FormClosingEventArgs .. which is part of the System.Windows.Forms namespace...
vb Code:
Public Class mainWindow Private Sub mainWindow_FormClosing(ByVal sender As Object, ByVal e As FormClosingEventArgs) Handles Me.FormClosing 'e (FormClosingEventArgs) e.Cancel = True End Sub Private Sub checkTextBoxes() ' FormClosingEventArgs ????? End Sub End Class
Oh and dont ever use END to close an application.




Reply With Quote
