How can I browse the classes and methods of an ActiveX DLL?

Daniel Magliola picture Daniel Magliola · Nov 4, 2008 · Viewed 23k times · Source

Basically, what I want to is be able to explore an ActiveX DLL. I normally fire up VB 6, add the DLL to the "References" of the project, and use Object Explorer.

However, in this particular machine I can't install VB / VS.
I'm sure there's a tool out there that does this. Does anyone know of one?

Thanks

Answer

fwzgekg picture fwzgekg · Nov 4, 2008

If the machine has Microsoft Office installed, you can go into the built-in Visual Basic for Applications IDE and load the object there:

Tools menu -> Macro -> Visual Basic Editor (or press Alt+F11)

Then when inside the VBA window, Tools menu -> References -> Browse to locate your DLL

and View menu -> Object Browser to view the object's content (or press F2)