borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2009 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (cansel the printing)Next Topic (POS (point of sale) integrated with simple vb aplication) New Topic New Poll Post Reply
AndreaVB Forum : API : DLL Contents
Poster Message
tmcfalls
Level: Guest


icon DLL Contents

Can someone please tell me how to determine the contents of a DLL?

Thanks

22-01-2004 at 05:36 PM
| Quote Reply
fabulous
Level: VB Guru


Registered: 03-08-2002
Posts: 439
icon 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

22-01-2004 at 06:09 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
AndreaVB Forum : API : DLL Contents
Previous Topic (cansel the printing)Next Topic (POS (point of sale) integrated with simple vb aplication) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2009 Andrea Tincaniborder