How to list all ActiveX controls registered on system using C#?

  • Thread starter Thread starter Melisa
  • Start date Start date
M

Melisa

Hi,

I want to list down all ActiveX controls which are registered on my
system.
How can it possible through C# ?


Please help me and reply ASAP.


Thanks
Melisa
 
They're all listed in the registry - just parse the HKEY_CLASSES_ROOT with a
CLSID subkey.
 
I think that to verify that they are actually ActiveX controls, you'd have
to instantiate each one and see if it implements IDispatch, too, wouldn't
you?

Paul T.
 
For true ActiveX instead of just COM, I guess you're right. Ah, the joys of
COM.

Why was it that we all thought it was a good idea a few years back?

-Chris


"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:[email protected]...
 
We need topics for books to fill the technical shelves at the local
bookstore!

Paul T.

For true ActiveX instead of just COM, I guess you're right. Ah, the joys
of COM.

Why was it that we all thought it was a good idea a few years back?

-Chris


"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:[email protected]...
I think that to verify that they are actually ActiveX controls, you'd have
to instantiate each one and see if it implements IDispatch, too, wouldn't
you?

Paul T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top