Link to home
Start Free TrialLog in
Avatar of ISC
ISC

asked on

VB6 Project Dependency Files

I have a VB6 project and I need to list out (to file) the paths and filenames of all references linked to the project; I also need to the file version information of the dependant files.

i.e.,

C:\WINNT\system32\stdole2.tlb#OLE Automation     Version 1.2.3
C:\WINNT\system32\scrrun.dll#Microsoft Scripting Runtime Version 1.2.3
C:\WINNT\system32\msstdfmt.dll#Microsoft Data Formatting Object Library 6.0 (SP4) Version 1.2.3

Can I do this in code or is there a freeware tool that would do this?  

Thanks Ian
Avatar of ISC
ISC

ASKER

I just downloaded FileMon and Depedency Walker off the internet....

I am lloking into them to see if they meet my needs.
Why don't u try VB packaging and development wizard...

Read this link and u will come to know how to get dependency files needed for project.

http://support.microsoft.com/default.aspx?scid=kb;en-us;830761
You could also try the MS Visual Studio Installer. It will create a package based on your project and lists all the dependancies.

This assumes that all you .dep files are correct of course.
ISC,

The relevant information should be in your projects .VBP file in text format; for instance, a snippet of one of my .VBP project files looks like (in this instance for example, you can see that v8.0 of the CRViewer.dll is required)

Reference=*\G{C4847593-972C-11D0-9567-00A0C9273C2A}#2.2#0#..\..\WINDOWS\System32\CRViewer.dll#Crystal Report Smart Viewer
Reference=*\G{BD4B4E53-F7B8-11D0-964D-00A0C9273C2A}#1.1#0#..\..\Program Files\Seagate Software\Crystal Reports\craxdui.dll#Crystal Reports 7 Library
Reference=*\G{00025E01-0000-0000-C000-000000000046}#5.0#0#..\..\Program Files\common~1\micros~1\dao\dao360.dll#Microsoft DAO 3.6 Object Library
Object={C4847593-972C-11D0-9567-00A0C9273C2A}#8.0#0; CRViewer.dll
Object={5B7759CE-C04E-4C5D-993B-8297E30D9065}#1.0#0; ChilkatFTP.dll
Reference=*\G{8BA2FE81-8506-11D4-BFE2-CB5FED326646}#1.0#0#..\..\SAWZip\SAWZip.tlb#SAWZip 1.0 Type Library

cheers,

Avatar of ISC

ASKER

The FileMon and Depedency Walker apps met my needs...
 
ASKER CERTIFIED SOLUTION
Avatar of Netminder
Netminder

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial