Results 1 to 28 of 28

Thread: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing!

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2012
    Posts
    1,191

    [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing!

    Undeterred by the lukewarm reception of my tab-Strip Add-In , here I am with another one. Gotta fill-up those lock-down days doing something, eh?

    This one is thought as a replacement for the built-in Project Explorer, and may be useful to somebody who is working with a large project. The idea (and not an original one!) is that you can organise your projects into something more meaningful than simply a list of Component Types: As illustrated below, create appropriate Groups and drag/drop into those

    Overview




    Cloning

    And one is not limited to doing this on a one-to-one basis, either. Here I am cloning an item into more than one Group (via the CTRL key), just to show that that's possible, too:





    Ordering

    And, finally, one can order the Groups, however they see fit....



    Download

    ...and here's the code:

    ProjEx Addin.zip

    16th Mar 2021: Updated with the problems identified in posts #2 and #16 fixed.
    Last edited by ColinE66; Mar 16th, 2021 at 12:46 PM.
    If you don't know where you're going, any road will take you there...

    My VB6 love-children: Vee-Hive and Vee-Launcher

  2. #2
    Addicted Member
    Join Date
    Jun 2016
    Location
    Espaņa
    Posts
    244

    Re: [Add-In] Large Project Organiser (alternative Project Explorer)

    wuauuu great job as always, please keep making more accessories.
    a problem:
    When the project explorer window is closed, it cannot be reopened from the add-ins menu.

    I don't have very big projects but it occurs to me.

    suggestion:
    Sub groups in groups

    a greeting

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2012
    Posts
    1,191

    Re: [Add-In] Large Project Organiser (alternative Project Explorer)

    Quote Originally Posted by yokesee View Post
    When the project explorer window is closed, it cannot be reopened from the add-ins menu.
    Oooh. Good spot. I must have broken that with a late change. I'll upload a new version shortly...

    EDIT: Done.
    Last edited by ColinE66; Feb 21st, 2021 at 11:36 AM.
    If you don't know where you're going, any road will take you there...

    My VB6 love-children: Vee-Hive and Vee-Launcher

  4. #4

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2012
    Posts
    1,191

    Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing

    Quote Originally Posted by The trick View Post
    The good Add-in. Thank you! It would be good to add a tree-view representaion like in the modern studios:
    Attachment 180283
    Hi Trick. Invalid attachment?
    If you don't know where you're going, any road will take you there...

    My VB6 love-children: Vee-Hive and Vee-Launcher

  6. #6

  7. #7

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2012
    Posts
    1,191

    Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing

    Ah, OK - I see it now. A tree-view is a bit 20th century, no? I was trying to do something a little different that didn't use-up so much vertical space.

    Maybe when we have another lock-down here in the UK....
    If you don't know where you're going, any road will take you there...

    My VB6 love-children: Vee-Hive and Vee-Launcher

  8. #8
    Fanatic Member
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    910

    Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing

    I think tree-views are sexy little beasts.

  9. #9
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    4,514

    Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing

    I agree with Colin about showing the object in a more clustered way.
    Treeviews grow large...

    I really like the idea of this AddIn.
    Will definitively give it a try when I've configured my new office laptop.

  10. #10

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2012
    Posts
    1,191

    Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing

    Quote Originally Posted by yereverluvinuncleber View Post
    I think tree-views are sexy little beasts.
    They are - I've even written two of my own so enamoured am I! But, like Arnoutdv says, horses for courses...
    If you don't know where you're going, any road will take you there...

    My VB6 love-children: Vee-Hive and Vee-Launcher

  11. #11
    Addicted Member sergeos's Avatar
    Join Date
    Apr 2009
    Location
    Belarus
    Posts
    130

    Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing

    Is it can be adopted for Excel VBE?
    Ten Years After - 01 You Give Me Loving

  12. #12

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2012
    Posts
    1,191

    Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing

    Quote Originally Posted by sergeos View Post
    Is it can be adopted for Excel VBE?
    Possibly. I don't work with Excel VBA, so don't know what the obstacles might be...
    If you don't know where you're going, any road will take you there...

    My VB6 love-children: Vee-Hive and Vee-Launcher

  13. #13
    Addicted Member Episcopal's Avatar
    Join Date
    Mar 2019
    Location
    Brazil
    Posts
    231

    Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing

    Quote Originally Posted by The trick View Post
    The good Add-in. Thank you! It would be good to add a tree-view representaion like in the modern studios:
    It would be really cool ... if the control created the same folders as we see in usercontrol ... to better organize the sources ...

  14. #14
    Addicted Member
    Join Date
    Jan 2015
    Posts
    246

    Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing

    Quote Originally Posted by Episcopal View Post
    It would be really cool ... if the control created the same folders as we see in usercontrol ... to better organize the sources ...
    it seems good, but difficult more

  15. #15

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2012
    Posts
    1,191

    Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing

    Quote Originally Posted by Episcopal View Post
    It would be really cool ... if the control created the same folders as we see in usercontrol ... to better organize the sources ...
    Well, it can be drawn however you like - all the code that does the drawing is in one place, and is pretty easy to modify...
    If you don't know where you're going, any road will take you there...

    My VB6 love-children: Vee-Hive and Vee-Launcher

  16. #16
    Addicted Member
    Join Date
    Jun 2016
    Location
    Espaņa
    Posts
    244

    Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing

    After using the add-in for a long time.
    with some projects it gives an error when starting.
    error 52 wrong file name or number.


    a greeting

  17. #17

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2012
    Posts
    1,191

    Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing

    Can you reliably reproduce this? If so, how? And is there anything that the 'problem' projects have in common?
    If you don't know where you're going, any road will take you there...

    My VB6 love-children: Vee-Hive and Vee-Launcher

  18. #18
    Addicted Member
    Join Date
    Jun 2016
    Location
    Espaņa
    Posts
    244

    Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing

    I don't know if this will help you, the content varies a lot.
    with this project downloaded a long time ago.
    I don't know the original source.



    the error has also appeared with other add-ins not just yours.
    but I have tried it in a virtual machine without add-ons and the error keeps getting.
    graph.zip

  19. #19

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2012
    Posts
    1,191

    Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing

    OK, I've found the problem. One of the vbp files in your project has an uppercase extension (i.e. .VBP). Just needed to change a couple of Replace functions to make them case-insensitive.

    New version in OP....

    Thanks for the report...
    If you don't know where you're going, any road will take you there...

    My VB6 love-children: Vee-Hive and Vee-Launcher

  20. #20
    Addicted Member
    Join Date
    Jun 2016
    Location
    Espaņa
    Posts
    244

    Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing

    new error 457
    the key is already associated with a collection

    you could put how you have solved it.
    other extensions I have like fixpalette2020

    they have the same problem

  21. #21

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2012
    Posts
    1,191

    Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing

    Can't reproduce that. Is that with the same project or a different one?

    EDIT: I explained how I solved it: I was doing a replace (BinaryCompare) on ".vbp" and your project contained a ".VBP" extension. Change my Replace function to use a case-insensitive TextCompare
    Last edited by ColinE66; Mar 16th, 2021 at 12:17 PM.
    If you don't know where you're going, any road will take you there...

    My VB6 love-children: Vee-Hive and Vee-Launcher

  22. #22
    Addicted Member
    Join Date
    Jun 2016
    Location
    Espaņa
    Posts
    244

    Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing

    the same
    it may be because it has the same project and control name

    if used with lower case everything works perfect

  23. #23

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2012
    Posts
    1,191

    Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing

    Quote Originally Posted by yokesee View Post
    the same
    it may be because it has the same project and control name
    That shouldn't be it. My code identifies components (i.e. creates keys for) as "ComponentName|ProjectName". That should make them unique.
    If you don't know where you're going, any road will take you there...

    My VB6 love-children: Vee-Hive and Vee-Launcher

  24. #24
    Addicted Member
    Join Date
    Jun 2016
    Location
    Espaņa
    Posts
    244

    Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing

    it's not an important thing don't worry

  25. #25

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2012
    Posts
    1,191

    Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing

    Quote Originally Posted by yokesee View Post
    it's not an important thing don't worry
    Actually, i just spotted another part of the code that uses the file extension, and made that case-insensitive, too. It is possible (I think?) that this has a bearing on the 457 error you were getting, as that part of the code tries to 'enforce' the order in which 'component add' -type events are processed, so that things aren't done twice. As I said, I couldn't reproduce it but when loading a project, the IDE doesn't always seem to do things in the order you expect. You may have just got unlucky...

    Anway, new upload available in the OP and that should prevent it happening ever again...
    If you don't know where you're going, any road will take you there...

    My VB6 love-children: Vee-Hive and Vee-Launcher

  26. #26
    Addicted Member
    Join Date
    Jun 2016
    Location
    Espaņa
    Posts
    244

    Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing

    Thank you very much it works perfectly.
    great job

  27. #27
    Lively Member
    Join Date
    Aug 2017
    Posts
    72

    Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing

    Very good work, I needed some adjustments and I implemented it myself, in this case it was "edit as text", and as I have a very big project when I change a form, it gets boring because it has to happen for a long time.

    How do I contribute if you are interested? Can I host on git? there was also a bug that happened to me when resizing

    I also put a reload from disk

    Attachment 180869

    ProjEx Addin.7z

  28. #28

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2012
    Posts
    1,191

    Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing

    Hi germano,

    Do anything you like with it; if you want to host it on GitHub then I'm OK with that...
    If you don't know where you're going, any road will take you there...

    My VB6 love-children: Vee-Hive and Vee-Launcher

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