CompuServe Thread

#Ending a VB Program

2 messages in this thread
#1117From: Mark Novisoff/MicroHelpOct 3, 1991 7:25 AM
John, You can end a program without using End by unloading all the forms in the app. The way I do it is when the user clicks on File-Exit, I do: Sub FileExit_Click() Unload Form1 ' Main form End Sub In addition, I use that form's unload proc to unload all other forms in the app that could be loaded: Sub Form_Unload(Cancel As Integer) Unload Form2 Unload Form3 ' etc. End Sub Mark There is 1 Reply.
#1161From: John RuzickaOct 3, 1991 9:56 AM
Thanks for the info, John