Results 1 to 6 of 6

Thread: DLL + Analysing VB6 Source Code

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2011
    Posts
    31

    DLL + Analysing VB6 Source Code

    Hi everyone,

    I would like to know if a DLL exists to analyse VB6 source code. I would use this DLL to check whether a constant name is used in a VB6 project or not.

    Thanks in advance.

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: DLL + Analysing VB6 Source Code

    Look for MZTools for VB6 ... it's got a pretty robust code analyzer.

    -tg

    edit - also... would a simple search on the module (since you have the source code) for the constant name tell you if it's in use or not?
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jan 2011
    Posts
    31

    Re: DLL + Analysing VB6 Source Code

    I have got MZTools available in my VB6 IDE but it can not tell me the names of constants declared and not used.

    edit - also... would a simple search on the module (since you have the source code) for the constant name tell you if it's in use or not?
    You are right but I would perform a search on a bunch of declarations of constants. With the help of a DLL I could perform the task programmatically.

  4. #4
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: DLL + Analysing VB6 Source Code

    that doesn't surprise me... it's easier to report what IS there vs what ISN'T there...

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  5. #5
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,969

    Re: DLL + Analysing VB6 Source Code

    Quote Originally Posted by david.rougier View Post
    I have got MZTools available in my VB6 IDE but it can not tell me the names of constants declared and not used.



    You are right but I would perform a search on a bunch of declarations of constants. With the help of a DLL I could perform the task programmatically.
    I bleive it will tell what is not used. Use the review code option.

  6. #6

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width