|
-
Nov 14th, 2000, 05:08 PM
#1
Thread Starter
Junior Member
I want to know what is the best way to manage the creation and destruction of forms in an application. For instance if theres an MDI application in which froms are shown on menu clicks using a form object variable, what is the best way to make sure they are destroyed so that memory and resources can be reclaimed, once they are not needed any more or in the event of the application shutting down.
Any help with code snippets and reasons behind following a certain way of doing things would be appreciated!
-
Nov 14th, 2000, 06:02 PM
#2
Hyperactive Member
i think ...
i don't know if this is what ur looking for but i've seen people post the following or sort of the following to free up the resources ur program was taking
in the unload event they put:
set = nothing
or something like that ... i'm not really sure
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|