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.
Printable View
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.
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 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.Quote:
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?
that doesn't surprise me... it's easier to report what IS there vs what ISN'T there...
-tg
You can write an add-in yourself - it's quite simple: search for a keyword within text.