Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VB6 Project Dependency Files

Posted on 2006-07-07
7
Medium Priority
?
518 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

927 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