>This maybe an easy one: If I use
>
>x=createobject('classx')
>
>How can I program classx to
>
>release x
>
>If 'x' isn't always named 'x'
If you use AddObject(...) instead of CreateObject() then you will not have 'extra' objects when you close the form your object is on. If your object is the form itself, then Nancy's "Release this" becomes the simplest way.
Barbara