Solved

VB6 Project Dependency Files

Posted on 2006-07-07
7
469 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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…

773 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