Click to See Complete Forum and Search --> : Object Browser


Sharathms
July 16th, 2001, 10:16 AM
Hi,
Does any one know how the Object Browser in VB works. I need to Automate,so that i can document all the classes and methods in a VB ActiveX DLL.
Thanks in advance,
Sharath

Ron at OGP
July 16th, 2001, 01:29 PM
My understanding is that the Object Browser is a grouping of all the DLL or EXE libraries that are referenced in your project and the classes that are available when they are used in your project.
Whatever Registered ActiveX DLL or EXE you need in your project for COM or API capability should be referenced first using the Project/References menu path and then check the Listbox items you want referenced. You must then click "okay" to make the reference complete.

Then hit your F2 Key at any point on your project to bring the Object browser up. The Default of the Library reference is always "All Libraries" in the upper right hand ComboBox. Drop this down to see the available Libraries in your project and (more importantly) look for the reference you just made. Clicking on this will fill the large list boxes on the bottom with the library information.
The Left hand side are the Classes in the Library and the right hand side are all the "properties, Methods, Events, and Enumerations" of the selected Class on the Left.
For practice, select the VB library on the top Combobox to see all the Default VB controls and available properties for them.
I hope this helps... Good luck :)


Ron D.
This request or reply is sponsered by:
Coffee -- the breakfast of champions!

Sharathms
July 18th, 2001, 03:07 AM
Thanks Ron.
but, i know how object browser works (from a user point), but i wanted to have my own object browser sort of thing, where "my" program should document the classed and methods from a dll. Any ideas,
Thanks.
Sharath