Solved

VB6 Project Dependency Files

Posted on 2006-07-07
7
501 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month11 days, 1 hour left to enroll

632 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