How Do I Register An Old VB6 ActiveX Control in VB6?

Posted on 2008-11-19
Last Modified: 2013-12-26
Hello Experts:
I am trying to get an old VB6 application to run again. I've moved on top a newer PC so I am starting over again.

When I try to add a classic control (CSDLG32.OCX) to the project, I get a message saying that the file is "not registerable as an ActiveX control". Then, when I try to register it with REGSVR32 it says that "LoadLibrary has failed - the specified module could not be found."

Is there anyone out there that is up on ancient history? Is there a work around for this problem?


Question by:gbmcneil
    LVL 15

    Accepted Solution

    You have to put the other libraries in the same path of the control. There may be a .dll that the control is related to before you register it...


    Author Comment

    Thanks Jack. Let me play with it.

    Expert Comment

    Did anyone manage to resolve this issue, we have this problem too.


    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
    Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
    As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
    Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now