Is there any way to see the code of Visual Basic Dll, which some one else has written. If so, how can we view .. As I want to see the functions used in a Dll and the arugments passed in that.
This might help you, but I'm not sure to what extent. The VB CD has a tool called depency walker. It basically gives you a treeview of all related components and also a list of functions... play with it and it might solve your problems
Another way is opening a new project -> standard exe -> project -> references -> browse -> add a reference to the dll you want -> press F2 (or view -> object browser) -> in the top left drop down box of the object browser select the DLL -> in the drop down box below the top left fill out * en press the binocular (search) icon.
All the sub, functions and properties will be displayed.
Hi Harmmeijer
I tried to open a new project and tried to
add this dll but its giving message
as cannot add this specified file. I think
its clear for this dll I didnt write , it was
written by someone else.
I think phathi will help you the most, the dll might not work with VB just by adding a reference (like the tapi.dll or the tapi32.dll).
You need to use an Api to use tapi.
In order to be able to set a reference to the dll you need to register it: goto the DOS promt and write 'regsvr32 Mydll.dll'
If the following is a stupid question - just ignor it.
Are you sure that you added the dll in 'references' and not as a file?
To add a reference to a dll use the menu: project->references and then 'Browse'
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.