Solved

VB6 Project Dependency Files

Posted on 2006-07-07
7
447 Views
Last Modified: 2012-06-21
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
0
Comment
Question by:ISC
7 Comments
 
LVL 1

Author Comment

by:ISC
ID: 17057455
I just downloaded FileMon and Depedency Walker off the internet....

I am lloking into them to see if they meet my needs.
0
 
LVL 8

Expert Comment

by:kaliyugkaarjun
ID: 17057691
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
0
 
LVL 3

Expert Comment

by:JamesPMCD
ID: 17058274
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.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 10

Expert Comment

by:fostejo
ID: 17060825
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,

0
 
LVL 1

Author Comment

by:ISC
ID: 17082648
The FileMon and Depedency Walker apps met my needs...
 
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 17118369
Closed, 500 points refunded.
Netminder
Site Admin
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now