Required Dialog for selecting Multiple Files and Folders .NET
Asked Answered
C

1

14

I thought it would be easy to find, I was wrong.

Dialog Requirements:

  • Can browse MULTIPLE FILES/FOLDERS in the same time.
  • Can be used in .NET windows forms.
  • FREE or can be used under GPL.
  • Works in Win Xp and Win 7.

Dialog Preferences:

  • C#
  • Looks like OpenFileDialog in .NET.
  • Has textbox for pasting path.

I have tried few examples from WEB, none met all Requirements!

Some examples, closest to solution for now:

Chaparral answered 26/8, 2010 at 15:40 Comment(7)
Thanks Scoregraphic, I was just doing same thing when I saw someone else has edited :)Chaparral
This previous Stack overflow questions has a similar requirement, and is about changing the folder dialog class to suit your needs. #428910Dymoke
I have studied this and several other threads and did not find code that satisfies all requirements. As I remember FolderBrowseDialog does not have multiselect property (REQ1) and is not as functional as OpenFileDialog (PREF2).Chaparral
Fair enough, I know finding code for this can be a bit of a pain as even the FolderDialog is missing from the compact framework. I do think the file/folder and message box needs a rewrite in .Net to be more developer friendly.Dymoke
Which message box or f*dialog class or method? I see at least one in several different, seemingly unrelated namespaces.Leninakan
I'm not sure I fully understand your question? It will be the file dialog class you will be after if you want it edit it to support files and folders.Dymoke
codeproject.com/KB/MFC/SelectDialog.aspx It meets all the requirements, but it's written in Visual C++.Tetrarch
M
4

Have you tried Ookii.Dialogs?

It should match all your requirements, or be at least a very good starting point.

Madewell answered 24/9, 2010 at 9:18 Comment(4)
This is needed for big project which is not in .NET 3.5, I didn't write this in requirements though. Sorry.Chaparral
Also I did not find any dialog that satisfies all requirements in provided solution.Chaparral
Maybe I misread your requirements, since it seems that it fits quite nicely. The library provides multi-select functionalities, it can be used in .NET windows form, can be used under GPL, work both in Win XP and Win 7, is written in C#, looks like the OpenFileDialog in .NET and has textbox for pasting text. Of course, if you do not use .NET 3.5, the pre-compiled library is of no use, for you. Still, you could try to migrate the code to .NET 2.0. As I said, can be a very good starting point.Madewell
What about "Can browse MULTIPLE FILES/FOLDERS in the same time"? I haven't found that feature. I can select multiple files only.Tetrarch

© 2022 - 2024 — McMap. All rights reserved.