winzip icon

Callers Add-in [FINAL 2.24 - Sept 12, 2011]

Submitted on: 2/21/2015 2:57:00 AM
By: Rde (from psc cd)  
Level: Intermediate
User Rating: By 17 Users
Compatibility: VB 5.0, VB 6.0
Views: 3995
     UPDATE 2.21: fixed fatal typo bug introduced in v2.2 ... UPDATE 2.22: fixed 'exclude addin designer' introduced in v1.9 ... UPDATE 2.23: fixed 'underscore' incorrect behavior introduced in v1.8 (Initialize matched Class_Initialize) - thanks heaps to Kenneth Ives (kenaso) for your feedback ... UPDATE 2.24: fixed yet another bug - discovered the VBE Find function searches up to but not including the specified last line. Now correctly handles API declares with line continuation ... DETAILS: I borrowed code from Kamilche, Ulli and Darryl Hasieber to create this quite simple VB add-in that adds something I've sometimes needed as projects get too large and complex ... It adds a couple of entries to VB's code pane context menu so that when you right-click within a procedure (or on a declare) and select 'Callers' you get a popup menu listing all other routines in the project that call this code member ... It displays which routines reference any particular code member in the project, and allows you to select one to go to it - and a second entry called 'Callee' to go back if you wish ... FEATURES: Callee's include all procedures, API declares, Enums and Types, module level constants and variables, Implemented classes and Raised Events. Also identifies parent Type or Enum when right- clicking on one of their members. Finds public Enums of classes without being qualified by class name. Also adds a 'Clear' menu item to the Immediate Window ... This will probably be the last update as it seems to work fairly well now. However, bug reports or suggestions for improvement may see some further updates ... Just compile the project to automatically add the add-in to VB and get two new menu items 'Callers' and 'Callee' on the code context menu ... If you have compiled a previous version compile again with no VB IDE's open by selecting 'Make' on the Caller.vbp's context menu ... 16 kb zip.
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net

Other 30 submission(s) by this author


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)

Other User Comments

7/19/2019 1:47:08 AMRob C

Members may be interested to know that Rde has a more recent updated version of this -< BR>Rob

(If this comment was disrespectful, please report it.)

7/19/2019 1:49:00 AMRob C

Link pasted again without my signature, which added to the end of the link above for some strange reason -< /span>
(If this comment was disrespectful, please report it.)


Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)

To post feedback, first please login.