Private Sub PasswordChange_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing MessageBox.Show("I pass by Here") e.Cancel = False End Subbut reading your code I change the e.change to True and get the problem resolved. Thank.