Uninstall an ocx

Posted on 2006-04-23
Last Modified: 2010-04-05

How can i list all the installed libraries (ocx, dlls) exactly like delphi does?
Example :  (Project ---> Import type library) There is a list there with all windows libraries.

I'd like to be able to remove some of the libraries.

Is there any code for that ??? Thanks in advance. :)
Question by:CodedK
    LVL 10

    Accepted Solution

    You can find all typelibs in the registry:


    There are a lot more there then Delphi lists. I don't know how Delphi filters them.

    Regards Jacco
    LVL 16

    Author Comment

    Thank you very much Jacco.
    Its true Delphi may read from there but there is no info about the class name inside the registry !
    Delphi provides:
    Name , path and the class name !

    Inside the registry you can find name and path but not the class name !
    LVL 10

    Expert Comment

    You're right. I don't know how Delphi achieves this. Maybe Delphi opens the DLL and calls some ActiveX method to retrieve classnames when you select the DLL in the ListBox?

    Sorry I can't be of any further help.

    Regards Jacco
    LVL 16

    Author Comment

    :) You helped a lot Jacco. You pointed to the registry value that contains the list...
    I'll keep this question open for a while, maybe someone will provide further assistance.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
    Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    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

    14 Experts available now in Live!

    Get 1:1 Help Now