Search
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
 

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

3,451 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    

· Text Editor
· Adder
· Combo Box Colors
· Cut and Paste
· Export a graph from a Visual Basic to Powerpoint.
· Flag Viewer




Credit Card Consolidation - Credit Counseling - Car Insurance - Internet Marketing

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