fabulous Level: VB Guru

 Registered: 03-08-2002 Posts: 439
|
Re: DLL Contents
I don't know whether or not you want to do this at runtime.
In the case you want this info at design time so that you know what to call within a DLL you do this from the IDE. The .dll will have to be an ActiveX one.
The easiest way to do this is to go to the Project->References menu command. In the resulting dialog box, browse fo the dll and click Ok to set a reference to it.
When you are bacik in the IDE, launch what should be your best friend as a VB programmer, (F2 in VB.OLD) the Object browser. This will show you everything you can access in the dll and the arguments expected by the different methods.
A way to find out what is in the windows API dlls is to run a utility that comes with Visual Studio called Dependency Walker. This checks all the dependencies of a selected program or dll and gives info on all the functions accessed.
This is however not very detailed and I would say the best way to fiund out is either MSDN library or code samples on the net.
Happy coding.
____________________________
My boss is a Jewish Carpenter (Jesus Christ)

Brain Bench Certified VB.NET Developer
|