Solved

VB6 tool to analyze a huge (300,000+ lines of code) that is free or very inexpensive?

Posted on 2008-10-30
3
318 Views
Last Modified: 2013-11-13
Does anyone know of a tool that can list the forms, subs, functions, variables that are not being used in a large legacy VB6 project that is free and/or inexpensive?

Also - is there are tool out there that will make it easy to add code that will record when a sub or function is actually used and write it to a database?  I'd put in the bit where and how to save it but there are just too many places for me to do this manually...

0
Comment
Question by:wpm0001
3 Comments
 

Expert Comment

by:jonwinchester
ID: 22849238
I have used VB Watch 2 (http://www.aivosto.com/vbwatch.html). It does code profiling as well as adds debugging code to a project. Not free, but worth the price if you have a project that is running slowly or need to find unused code sections.
0
 
LVL 11

Expert Comment

by:Antagony1960
ID: 22849270
VB Project Eye has a free version. I've never used it though, so I can't vouch for how effective it is or whether it will do everything you want.
0
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 22849615
If I remember correctly MZ-Tools (which is free for VB6) can find dead code: http://www.mztools.com/v3/mztools3.aspx
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
base64 decode encode 12 121
listing all functions in JavaScript 19 178
Help me. 3 46
Child Form in front 4 38
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

920 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

13 Experts available now in Live!

Get 1:1 Help Now