Left Quote    Copy from one, it's plagiarism; copy from two, it's research.
- Wilson Mizner    
Right Quote
[login] | [Register]

Instead of Using End

by: starkweatherr


Six lines of code that will, under most circumstances, release all of the memory used by all of the forms included in your application. Remember that Forms is the name of a Collection but a Form is an Object. This will not necessarily release memory dynamically allocated for variables. Remember that the Form_Unload Event of the a form is a good place to do any cleanup needed at the end of a program. CleanExit() will trigger the Form_Unload event of each form.



No Comments for this page.

You Must be signed in or a member to comment.

Code Stats

Code Stats

0 Total Comments
0 Rating of 5 ( Votes)


Code Options

· Login to Rate This Code
· Login to Post a Comment
· Read more by this author
Digg This Code! Bookmark This Code Reddit: Bookmark This Code! BlinkList: Blink This Code! YahooMyWeb BlogMarks: Add This Mark! Furl: Save This Code Spurl: Mark This Code!

Code Samples


· RGB Color Fader
· Adder
· Math Problems
· Cut and Paste
· Combo Box Colors
· Flag Viewer

"" Copyright © 2002-2021; All rights lefted, all lefts righted.
Privacy Policy