PDA

Click to See Complete Forum and Search --> : VB - better code for program exiting


aafuss
Feb 19th, 2003, 04:09 PM
better code for program exiting:

Dim frm As Form

For Each frm In Forms

Unload frm

Set frm = Nothing

Next

' Not really needed...

End