Click to See Complete Forum and Search --> : Urgent!! : Class not Registered Problem ?


October 8th, 1999, 07:55 AM
Hi,

I am encountering this problem when my application is running.. It is occuring very unexpectedly .. My application is being developed using many third party controls viz. Sheridian , Video Conferencing Tools , LEAD Tools etc.. Some time Application raises Out of Memory , Automation Error , Unspecified Error , Class not Registered,Could not load Control. We belive that the controls are not getting unloaded totally when form are unloaded. Can this happen ? By this some memory is still occupied by them.. But as we know that Form when Unloaded automatically all the controls within that get unloaded.. But I think in my case some thing extraordinary is happen which I am unable to trace out.

Can there be any remedy for my problem.

Regards

Robert

October 8th, 1999, 04:59 PM
try setting the form to nothing after unloading it as unloading a form does not clear all its variables. have a play around and you should see (i'm in a bit of a rush so I can't knock up a demo for you). I've come accross this before.

e.g. try this...

dim newform as new <formname>
set newform = new <formname>

...do you stuff...

unload newform
set newform = nothing

Regards
Lewis T