Search
Left Quote    Every day I get up and look through the Forbes list of the richest people in America. If I
- Robert Orben    
Right Quote
 
[login] | [Register]
 

Instead of Using End

by: starkweatherr
 

Description:


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.

Code:


 


No Comments for this page.

You Must be signed in or a member to comment.


Code Stats

Code Stats

10,955 Views
0 Total Comments
0 Rating of 5 ( Votes)

Options

Code Options

· Login to Rate This Code
· Login to Post a Comment
· Read more by this author
Digg This Code! Del.icio.us: 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

Related    

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





"AllSyntax.com" Copyright © 2002-2017; All rights lefted, all lefts righted.
Privacy Policy  |  Internet Rank