Aplicaciones utilizando Visual Studio, Crystal Report y SQL Server
Private Sub Form1_Unload(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles MyBase.Closing e.Cancel = True End Sub 'Y para salir: Application.Exit()