Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

My application stays in memory.

Status
Not open for further replies.

nitrox

Programmer
Aug 24, 2000
19
0
0
BR
When the application executes END command to finish it, it doesnt release the memory. The CTRL-ALT-DEL shows me that it is still there.
 
Did you use SET statement to assign NOTHING to your object variables to release your memory?

Set PreviouslyDeclaredObject = NOTHING

You may have to follow LAST IN FIRST OUT method to set object variables to NOTHING.

I have found several references and examples in VB Help about the subject.
 
Nitrox,

I don't usually (never actually) use End to terminate an application.

Only exit the application from one point and Unload each form in turn. If you unload from a Menu option -- finish off with Unload Me.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top