Results 1 to 5 of 5

Thread: Classview Addin for vb6

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2015
    Posts
    1,126

    Classview Addin for vb6

    This addin gives us a class viewer similar to the new visual studio. Click on a function to navigate to it. The filter text box allows you to quickly trim down the list and also has some bonus features.

    * shows public members only
    - gives you subtractive filters
    ?loc displays total lines of code in the project

    there is also an option to display lines of code for each function in the treeview.

    I have also included a Find All search form available on the Add-Ins menu.

    This was originally released on PSC by Patrick de Groot and lost in the site crash of 2014(?)
    The core of the Find-All search routine comes from the Code Fixer addin by Roger Gilchrist.
    Attached Images Attached Images   
    Attached Files Attached Files
    Last edited by dz32; Jul 26th, 2023 at 06:19 PM.

  2. #2
    Fanatic Member
    Join Date
    Aug 2011
    Location
    Palm Coast, FL
    Posts
    628

    Re: Classview Addin for vb6

    This looks useful. I'm not sure how to install it so that it appears in the VB6 Add-In Manager however. I downloaded the zip file and see it contains the project source code. What do I do with this? I assume I'm going to have to compile it to DLL - and then what?

  3. #3
    Fanatic Member
    Join Date
    Aug 2011
    Location
    Palm Coast, FL
    Posts
    628

    Re: Classview Addin for vb6

    Well I managed to get this working. What I did was to compile it to DLL and then I moved the DLL to the VB6 Add-Ins folder. Now it starts up with my projects.

  4. #4
    Fanatic Member
    Join Date
    Aug 2011
    Location
    Palm Coast, FL
    Posts
    628

    Re: Classview Addin for vb6

    If I close the CodeView window because I don't currently need it, how can I get it to reappear without restarting the project?

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2015
    Posts
    1,126

    Re: Classview Addin for vb6

    currently you have to goto addin manager unload codeview, close the dialog, reopen it and load the addin again. I will add a menu item to relaunch it. I guess I have never closed it in all of these years lol.

    edit: looks like all the code is there to add a menu item for CodeView its just commented out. I dont remember why. Feel free to reenable it when you compile its probably fine not worth updating the package.

    see Connect.dsr: AddinInstance_OnConnection, AddinInstance_OnDisconnection, MenuHandler_Click and the module level vars 'Dim mcbMenuCommandBar As Office.CommandBarControl
    'Public WithEvents MenuHandler As CommandBarEvents
    Last edited by dz32; Aug 13th, 2024 at 10:31 AM.

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