Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Uninstall an ocx

Posted on 2006-04-23
4
Medium Priority
?
172 Views
Last Modified: 2010-04-05
Hi.

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. :)
0
Comment
Question by:CodedK
  • 2
  • 2
4 Comments
 
LVL 10

Accepted Solution

by:
Jacco earned 2000 total points
ID: 16522337
You can find all typelibs in the registry:

HKEY_CLASSES_ROOT\TypeLib

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

Regards Jacco
0
 
LVL 16

Author Comment

by:CodedK
ID: 16526608
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 !
0
 
LVL 10

Expert Comment

by:Jacco
ID: 16532896
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
0
 
LVL 16

Author Comment

by:CodedK
ID: 16532910
:) 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.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This is an update to some code that someone else posted on Experts Exchange. It is an alternate approach, I think a little easier to use, & makes sure that things like the Task Bar will update.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses
Course of the Month15 days, 5 hours left to enroll

577 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