-
Feb 21st, 2021, 09:29 AM
#1
[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
-
Feb 21st, 2021, 11:06 AM
#2
Hyperactive Member
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
-
Feb 21st, 2021, 11:27 AM
#3
Re: [Add-In] Large Project Organiser (alternative Project Explorer)
Originally Posted by yokesee
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
-
Feb 21st, 2021, 12:30 PM
#4
Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing
The good Add-in. Thank you! It would be good to add a tree-view representaion like in the modern studios:
Last edited by The trick; Feb 21st, 2021 at 12:47 PM.
-
Feb 21st, 2021, 12:43 PM
#5
Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing
Originally Posted by The trick
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
-
Feb 21st, 2021, 12:48 PM
#6
Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing
Originally Posted by ColinE66
Hi Trick. Invalid attachment?
This is seems the image-uploader error, i've updated the post with an external image.
-
Feb 21st, 2021, 12:59 PM
#7
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
-
Feb 22nd, 2021, 05:17 AM
#8
Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing
I think tree-views are sexy little beasts.
-
Feb 22nd, 2021, 05:38 AM
#9
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.
-
Feb 22nd, 2021, 06:11 AM
#10
Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing
Originally Posted by yereverluvinuncleber
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
-
Feb 27th, 2021, 11:55 AM
#11
Addicted Member
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
-
Feb 28th, 2021, 08:22 AM
#12
Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing
Originally Posted by sergeos
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
-
Mar 10th, 2021, 05:54 PM
#13
Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing
Originally Posted by The trick
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 ...
-
Mar 10th, 2021, 08:48 PM
#14
Hyperactive Member
Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing
Originally Posted by Episcopal
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
-
Mar 11th, 2021, 07:23 AM
#15
Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing
Originally Posted by Episcopal
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
-
Mar 15th, 2021, 02:43 PM
#16
Hyperactive Member
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
-
Mar 15th, 2021, 03:32 PM
#17
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
-
Mar 15th, 2021, 04:14 PM
#18
Hyperactive Member
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
-
Mar 16th, 2021, 10:33 AM
#19
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
-
Mar 16th, 2021, 11:30 AM
#20
Hyperactive Member
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
-
Mar 16th, 2021, 12:14 PM
#21
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
-
Mar 16th, 2021, 12:15 PM
#22
Hyperactive Member
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
-
Mar 16th, 2021, 12:20 PM
#23
Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing
Originally Posted by yokesee
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
-
Mar 16th, 2021, 12:45 PM
#24
Hyperactive Member
Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing
it's not an important thing don't worry
-
Mar 16th, 2021, 12:52 PM
#25
Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing
Originally Posted by yokesee
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
-
Mar 16th, 2021, 01:19 PM
#26
Hyperactive Member
Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing
Thank you very much it works perfectly.
great job
-
Mar 30th, 2021, 01:29 PM
#27
Lively Member
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
-
Mar 31st, 2021, 03:05 PM
#28
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
-
Apr 29th, 2022, 05:05 AM
#29
Lively Member
Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing
Originally Posted by The trick
The good Add-in. Thank you! It would be good to add a tree-view representaion like in the modern studios:
This is available with many useful extensions in CodeSmart's ProjectExplorer. Unfortunately, these extensions all have the disadvantage that they cannot be used in the run mode.
https://www.axtools.com/products-codesmart-vb6.php#T1
-
Apr 30th, 2022, 06:15 AM
#30
Addicted Member
Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing
Colin, is this purely a replacement for Project Explorer or could it be used alongside it? In fact, I'm using CodeSmart 2013 and it's Project Explorer, but I kinda like the ability to organize as you do here. I have lots of screen space to benefit of both though.
I haven't tried or looked at it yet so maybe goes ahead of myself here, but I think it really would make sense if the grouping could be done on a project basis as Fish grouping may be suitable for one project while Submarines may be better fitting for another. But maybe that has already been dealt with.
M$ vs. VB6 = The biggest betrayal and strategic mistake of the century!?
-
May 3rd, 2022, 04:56 AM
#31
Lively Member
Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing
Originally Posted by 7edm
In fact, I'm using CodeSmart 2013 and it's Project Explorer, but I kinda like the ability to organize as you do here. I have lots of screen space to benefit of both though.
Do you also use the "Logical grouping" function in CodeSmart, with which you can create your own folders? In addition, you can also colour the classes, which is also very helpful for large projects.
-
May 3rd, 2022, 06:36 AM
#32
Addicted Member
Re: [Add-In] Large Project Organiser (alternative Project Explorer) - No sub-classing
Originally Posted by wwolf
Do you also use the "Logical grouping" function in CodeSmart, with which you can create your own folders? In addition, you can also colour the classes, which is also very helpful for large projects.
Indeed not, I have only used the physical view. Maybe I tested it early on but didn't fully understand it. From what you write it seems to do pretty much the same as this Add-in does. Maybe time to take a deeper look and explore CS-2013 once again.
Thanks for bringing this to my attention.
M$ vs. VB6 = The biggest betrayal and strategic mistake of the century!?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|