MZ-Tools Question

Posted on 2009-12-19
Last Modified: 2012-05-08

I'm attempting to clean up a VB6 project using MZ-Tools.  How do I....

1)  Automatically purge all the variables, etc. that it shows me I'm not using?

2)  Have it show me all functions and subs I'm not using?

3)  Have it show me all the forms, modules, I'm not using?

Question by:NigelRocks
    LVL 16

    Accepted Solution

    If you choose 'Review Source Code' it will provide you with all 3.

    Via the menu: Tools, MZ-Tools, Other Utilities, Review Source Code

    Or right-click on the project name, choose Review Source Code and does it for the whole
    project. You can also do the same for just 1 form or module, etc.
    LVL 16

    Assisted Solution

    Just to add, it will give you an overview. It does not automatically purge it!
    LVL 1

    Author Comment

    "Review Source Code" is giving me everything but the forms that aren't being used.  Is there something else I need to do?
    LVL 16

    Assisted Solution

    MZ-Tools can not detect unused forms unfortunately. I just tried it too.

    You probably need to check for unused forms yourself..

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
    Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
    Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
    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…

    728 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

    21 Experts available now in Live!

    Get 1:1 Help Now