VB deftly handles the memory mangagement on part of the programmer, you need not worry about it. The garbage collector of VB spots the variables which have gone out of scope or are not referenced anywhere in the program and takes care of them accordingly.
And btw, as far as the variables of the form retaining their values is concerned, I guess its a Feature of working in the design environment, though I am not sure about it.
Super Moderator
Featured Poster
Reputation Points: 3241
Solved Threads: 719
Failure as a human
Offline 8,873 posts
since Jun 2006