*** Quote ***Try to remove ActiveX component from your form in Form's Release method.
Thisform.removeobject([NameofActiveXobject])
also, I think that clear class all in form.destroy event is not necessary and might led to dreaded C0000005 errors.
try to put such a cleaning code in your application shutdown code.
*** End Quote *** I will try to remove the class from the release method of my form.
I have my on shutdown procedure where i put all my cleaning code, but then without releasing first the class, I get error with
Cannot clear object that is in useThanks.