Alex Rivera | Logout

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

Asked 2008-11-04T15:20:56.293
13

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

Edit
Report

2 Answers

17

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)

answered 2008-11-04T15:30:12.280
3

Is it possible to download the component from that machine and examine it locally in Visual Studio? (That'd be my first suggestion.) (And BTW, the .NET versions of Visual Studio also feature a VB6-like Object Explorer which works nicely for this.)

Alternatively, and it's not free, but you might try ActiveXplorer. (I haven't tried this, but it looks promising.) (Discontinued)

answered 2008-11-04T15:26:48.603

Your Answer