CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2006
    Posts
    326

    [RESOLVED] Run-time error '713' Class not registered.

    Hello,

    I have a vb6 application.
    After I start or build the program I always get this error
    Code:
    Run-time error '713' Class not registered.
    Even I register this ocx component, it is still there.

    Why?


    Thanks.
    Last edited by zhshqzyc; December 7th, 2009 at 11:41 AM.

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Run-time error '713' Class not registered.

    Which OCX would that be? Where did it come from? How are you registering it, and on what OS?
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Jan 2006
    Posts
    326

    Re: Run-time error '713' Class not registered.

    It's a control compontent.
    OS WIN xp sp3.
    I use regv32 to regist it.

    It is in a user folder.

  4. #4
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Run-time error '713' Class not registered.

    It's a control compontent.
    Must not be legal to distribute, or will overwrite an old version
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  5. #5
    Join Date
    Jan 2006
    Posts
    326

    Re: Run-time error '713' Class not registered.

    Can you tell me how to check its existance in registry?

    Suppose the component is named PControl.ocx.

  6. #6
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Run-time error '713' Class not registered.

    It should be in the Windows folder if it's registered properly.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

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