Directory Picker (local and network computers) is needed

  • Thread starter Thread starter Nicholas Paldino [.NET/C# MVP]
  • Start date Start date
N

Nicholas Paldino [.NET/C# MVP]

Ram,

Have you checked the FolderBrowserDialog in the System.Windows.Forms
namespace? It should give you what you want.

Hope this helps.
 
Ram,

The FolderBrowseDialog (Nicholas Recomendation) is not available in
Framework 1.0. Its available only in 1.1.

If you use 1.0 framework, you may have to use unmanaged code to get that
dialog from windows api's.

Lemme know if thats the case

Shak.
 
Nicholas.

Before 1.5 years...i implemented this dialog using "UnSafe Code Blocks".
That is using pointers. That was really a tedious process becoz its
unmanaged and it added lotsa lines of code with plenty of warnings from
compiler :)

The code you refered is really cool. Its managed. I will use this when i get
a chance to fix bugs or updates for my old project atleast to get rid of
warnings :). Thanks for that.

Shak

Nicholas Paldino said:
Shakir and Ram,

If this is the case, then check out knowledge base article 306285,
titled "HOW TO: Implement a Managed Component that Wraps the Browse For
Folder Common Dialog Box by Using Visual C# .NET", located at (watch for
line wrap):

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q306285


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Shakir Hussain said:
Ram,

The FolderBrowseDialog (Nicholas Recomendation) is not available in
Framework 1.0. Its available only in 1.1.

If you use 1.0 framework, you may have to use unmanaged code to get that
dialog from windows api's.

Lemme know if thats the case

Shak.


a
good
 
Hi,
I'm looking for a simple directory picker. I need both local drives
directories and directories in the computers in the network neighborhood.
Does anyone know if there is something ready in the .net framework or a good
implementation of it?
Thanks,
Ram.
 
Back
Top