Hi Vlad,
FWIW, you don't really need the two commands. Once you execute the object's Release method, any variable that was referencing that object is now set to .NULL..
Regards.
>Hi!
>
>Well, this is quite a complex question. Many programmers solve it by different ways. For example, create garbage collection programs. Or create special classes to track cross-references. Personally, I like the approach on the OOP and design level. Just create a method "Release" for your business object. SOe releasing of it will now require 2 commands:
>
>goBusiness.Release()
>release goBusiness
>
*snip*
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao