Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dll 2

Status
Not open for further replies.

papakula

Programmer
Aug 21, 2001
33
GB
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.
 
Hi,

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

follow these white rabbits

1. 2.
or goto to the master's website himself

3.
Hope that helps.
Phathi >:):O>
 
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.
 
Hi,

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'

Sunaj
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top