The answer to this question is probably really simple, but if you have a VB application that you run and you want to have a button to exit the program, what is the code for that????
Thanks,
Kevin
Printable View
The answer to this question is probably really simple, but if you have a VB application that you run and you want to have a button to exit the program, what is the code for that????
Thanks,
Kevin
That unloads all the forms, clears everything from memoryVB Code:
Dim frm as Form for each frm in forms unload frm set frm = nothing next frm