![]() |
Resources |
![]() |
![]() |
1 | Utilities and Programs |   |
  |
ActiveX Documenter |
NOTE:
this code has been superceded by the version at the new site.
|
  |
![]()
This VB application uses TLBINF32.DLL (the one used by VB's object browser) to investigate the interfaces of compiled ActiveX documents. It acts as a complement to the object browser in VB, allowing you to look at object interfaces without needing to run VB or to add a reference to the object. In addition, it produces well formated documentation for an object. This release allows you to:
This is a must download if you're trying to create help files for your ActiveX objects. The next release (due in August) will be even more powerful - you'll be able to create Superclasses of existing ActiveX objects, choosing where you want to delegate interfaces, and it will generate fully hyperlinked HTML documentation.
Installation Instructions About the Code
![]() As a consequence, the code may not always take the most 'elegant' route (I had a code review with myself, luckily we agreed that the code was perfectly functional and therefore any shortcuts were entirely justified in the limited development time ;-) However, it does work well with VB libraries. There seem to be two ways of using the TLBINF32.DLL, the first being to iterate through the collections to get the information (the method I used) and the second to install a callback to automatically populate listboxes and combo boxes just like in the Object Browser. I wanted to iterate through the collections so I had the most control over formatting of the final object, but I think using the callback methods might result in considerably neater code. I found there was quite a lot of work involved in converted the raw results returned by the collections to get it into something like what you see in the Object Browser. For example, consider a VB ActiveX control called cUpDown. The COM object which is created for it looks something like this:
Anyway, I hope this is of some use to you. It has been for me - I completed all my class documentation for a large VB project at work in about 5 minutes with it! Suggestions, Features, Bug Reports etc
|
  |
![]() |
|
About Contribute Send Feedback Privacy
|
NOTE:
this code has been superceded by the version at the new site.
|