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

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
 
G

Guest

They're all listed in the registry - just parse the HKEY_CLASSES_ROOT with a
CLSID subkey.
 
P

Paul G. Tobey [eMVP]

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.
 
G

Guest

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]...
 
P

Paul G. Tobey [eMVP]

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

Top