Don't show network drives using FileOpenDialog

80 views Asked by At

Right now when I use FileOpenDialog it takes quiet some time to open, I tested it and it seems that it happens when the user have too many network drives. Is there a way to not show them or at least make them async so it doesn't take too much time?

1

There are 1 answers

0
Eike B On BEST ANSWER

I'm afraid this is not possible with plain framework possibilities.

The FileOpenDialog and FileSaveDialog are based on the same FileDialog class. This class does not allow filter on drives. You can find a possible workaround in this thread: WPF SaveFileDialog - Restrict Drives