Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determine uncalled routines 1

Status
Not open for further replies.

Glasgow

IS-IT--Management
Jul 30, 2001
1,669
0
0
GB
Is there an easy way to establish whether there any subroutines or functions in code across a project that are not actually called from anywhere? Obviously such redundant code would then be deleted.
 

What you need is MZTools.

Go to MZTools.com, download it and have fun with it. The price is right (Free for VB 6). You can detect unused code very easy, as long as the Subs or Functions are declared Private, I don't think it can find Public Sub and Functions that are not used. Plus, it will tell you if you have variables declared and never used (or in comment out code).


Have fun.

---- Andy
 
I second that, with a vengeance.. (Or 4.0 depending on how old a Die Hard fan you are.)

JaG

yosherrs.gif

[tt]'Very funny, Scotty... Now Beam down my clothes.'[/tt]
 
That's useful thank you. I'll find another way of establishing the unused public routines.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top