Remove object from memory
Thanks for the reply, but does this really remove the object from
memory as well?
What if I did the following:
Dim Fred as MyObject, George as New MyObject
Set Fred = George
Set George = Nothing
I could still access the same object through Fred, it is not erased
from memory.
For many built-in functions there is a Delete method, that is more like
what I am looking for.
Maybe may question should be:
How do I create a Delete method which frees the memory occupied by my
object?
With regards,
Lex
|