I have large visual basic 6 project with 50 forms and many modules. When i open a form i found some variables/functions used in that form is not originated there. Then how can i find out where it is first written without going through all codes.
Thank you.
Open the project in the IDE. Find an occurrence of the variable, function, etc. of interest, right-click and choose Definition. This should take you there.
The Goto definition SHIFT + F2 is what I use when working in a smaller project. However, if you want some real power, download and install MZ Tools or Agent Ransack. I personally use MZ Tools and it has some fantastic features for VB6 such as finding occurrences of variables, methods, etc plus a plethora more features that I know you'll find extremely useful.
MZ Tools is also free for use and you can donate if you wish.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With