Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

List registered ActiveX controls in VB6

29 views
Skip to first unread message

mr

unread,
Jul 21, 2006, 7:54:22 AM7/21/06
to
If I use Microsoft's OLE Viewer and expand the Controls node, I can get
a list of the several hundred ActiveX controls that are registered on
my system, like Microsoft MonthView Control etc. How can I get this
list in VB6?

For about 20 of these controls with a given prefix, I'm going to use
CreateObject and then TypeLib (TLIApplication) to get a list of the
control's members.

mayayana

unread,
Jul 21, 2006, 8:45:02 AM7/21/06
to
Enumerate the Registry keys under HKCR\CLSID.
Each one that has a subkey named "Control" is an
ActiveX control. (That doesn't include ActiveX DLLs
and EXEs.)

mr

unread,
Jul 21, 2006, 9:20:10 AM7/21/06
to
Thanks!
0 new messages