Problem With FolderBrowserDialog Control

  • Thread starter Thread starter joey.powell
  • Start date Start date
J

joey.powell

I have a C# windows forms app where I am using a FolderBrowserControl.
It works great much of the time, BUT...

When users try to browse/select a folder that contains MANY (thousands
and thousands) subdirectories and files, it just sits there, sometimes
for as much as thirty minutes, before it finally indexs/enumerates the
directory structure and allows a select.

This behavior reminds me a lot of when you are in Windows Explorer and
you select the same type of folder - it has to index/enumerate the
subdirectories and files before it will allow you to continue. For this
application, this is not going to be acceptable.

Do you guys have any ideas about how best to handle this? Maybe there
is another, more efficient folder browser control out there? Maybe
there is a way to modify this one so that it performs better?

Any help or ideas will be greatly appreciated.
 
I have a C# windows forms app where I am using a FolderBrowserControl.
It works great much of the time, BUT...

When users try to browse/select a folder that contains MANY (thousands
and thousands) subdirectories and files, it just sits there, sometimes
for as much as thirty minutes, before it finally indexs/enumerates the
directory structure and allows a select.

This behavior reminds me a lot of when you are in Windows Explorer and
you select the same type of folder - it has to index/enumerate the
subdirectories and files before it will allow you to continue. For this
application, this is not going to be acceptable.

Do you guys have any ideas about how best to handle this? Maybe there
is another, more efficient folder browser control out there? Maybe
there is a way to modify this one so that it performs better?

You aren't going to be able to modify this one since I believe it derives
from the standard windows dialog, same as explorer uses. I don't know of any
others, and a basic search isn't showing much else(some 1.0 models that just
implement a wrapper around the base dialog). You might have to roll your own
here or redesign the directory structure.
 
Back
Top