#Ending a VB Program
03-Oct-91 07:25:15
Sb: #1081-#Ending a VB Program
Fm: Mark Novisoff/MicroHelp 73047,3706
To: John Ruzicka 75160,2376
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.