
Signature
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
> Carlos, thanks for elaborate answer. I turned on Strict
> option for the module. It caused a couple of compilation
[quoted text clipped - 81 lines]
> End Function
> -------
> I can confirm that navigating the solution explorer opens
> closed folders, even the "Track Active Item" feature of
> VS does that effect. I am not sure if it is "by design"
> or a "bug", but certainly it is undesirable because the
> "Track Active Item" feature will open lots of folders in
> other hives until it finds the target item.
Actually, "Track Active Item" feature doesn't open
irrelevant folders. Only my traversion does. Also, "Track
Active Item" selects active item in solution pane really
fast. As if it already knew solution path of active item.
> Could you
> open a bug here to hear an answer from Microsoft?:
>
> http://lab.msdn.microsoft.com/ProductFeedback/
Done.
"Traversing Solution Explorer tree via VBA macro expands all
items"
Bug ID: FDBK45186
> About the slowness, I don´t know, but 5 minutes is a huge
> time. How many projects and files has your solution?
It's huge ancient project consisted of millions of LOC nad
several tens of thousands files (I never counted exact
numberm though). I think delay is caused because of source
control status that gets updated when item is expanded.
Actually, IDE is completely unresponsive for several
minutes, then it becomes clunky while dumps all these
filenames in output pane. When I'll get to office by Sunday
I'll try to run it without output, too.
Alex Blekhman - 05 Feb 2006 16:46 GMT
> When I'll get to office by
> Sunday I'll try to run it without output, too.
I run it without output. It completed a lttle bit faster,
but not signigicantly. Items are expanded anyway, though.
Carlos J. Quintero [VB MVP] - 06 Feb 2006 08:49 GMT
> Actually, "Track Active Item" feature doesn't open irrelevant folders.
It did it in my test...
> It's huge ancient project consisted of millions of LOC nad
> several tens of thousands files (I never counted exact
> numberm though).
Ah, that's really huge...

Signature
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com