Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> Visual Basic >> Snippet

Unload all forms


'put this in the form unload event
Dim X As Form
For Each X In Forms
    Unload X
    Set X = Nothing
Next X