CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    Urgent!! : Class not Registered Problem ?

    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


  2. #2
    Guest

    Re: Urgent!! : Class not Registered Problem ?

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured