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:

watbywbarif
  • 6,487
  • 8
  • 50
  • 64
  • Thanks Scoregraphic, I was just doing same thing when I saw someone else has edited :) – watbywbarif Aug 26 '10 at 15:44
  • This previous Stack overflow questions has a similar requirement, and is about changing the folder dialog class to suit your needs. http://stackoverflow.com/questions/428410/select-either-a-file-or-folder-from-the-same-dialog-in-net – JonWillis Aug 27 '10 at 20:11
  • 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). – watbywbarif Aug 30 '10 at 08:46
  • 1
    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. – JonWillis Aug 30 '10 at 14:48
  • Which message box or f*dialog class or method? I see at least one in several different, seemingly unrelated namespaces. – bob-the-destroyer Sep 26 '10 at 05:19
  • 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. – JonWillis Sep 26 '10 at 07:46
  • http://www.codeproject.com/KB/MFC/SelectDialog.aspx It meets all the requirements, but it's written in Visual C++. – hectorct Nov 04 '11 at 07:57

1 Answers1

4

Have you tried Ookii.Dialogs?

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

BladeWise
  • 983
  • 9
  • 9
  • This is needed for big project which is not in .NET 3.5, I didn't write this in requirements though. Sorry. – watbywbarif Sep 30 '10 at 13:06
  • 1
    Also I did not find any dialog that satisfies all requirements in provided solution. – watbywbarif Sep 30 '10 at 13:13
  • 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. – BladeWise Oct 27 '10 at 08:13
  • 1
    What about "Can browse MULTIPLE FILES/FOLDERS in the same time"? I haven't found that feature. I can select multiple files only. – hectorct Nov 03 '11 at 08:30