best way to select/create a folder

  • Thread starter Thread starter microsoft
  • Start date Start date
M

microsoft

vb.net

What's the best way to allow the user to select an existing folder or create
a new one and select. Not a file, just a folder.
 
* "microsoft said:
What's the best way to allow the user to select an existing folder or create
a new one and select. Not a file, just a folder.

..NET 1.1:

FolderBrowserDialog Class (System.Windows.Forms.FolderBrowserDialog)
<URL:http://msdn.microsoft.com/library/e...WindowsFormsFolderBrowserDialogClassTopic.asp>

Note that there is a bug in the .NET Framework 1.1 that causes a really bad
error when using a path longer than about 128 characters. This occurs on
Unicode systems only. Use the p/invoke solutions listed below instead.

..NET 1.0:

Folder Browser component for .NET
<URL:http://www.codeproject.com/cs/miscctrl/folderbrowser.asp>

306285 - HOW TO: Implement a Managed Component that Wraps the Browse For
Folder Common Dialog Box by Using Visual C# .NET
<URL:http://support.microsoft.com/?kbid=306285>

FolderBrowser.msi
<URL:http://www.gotdotnet.com/team/vb/FolderBrowser.exe>

How to pick a directory
<URL:http://groups.google.com/groups?selm=q0JKzDbmCHA.2144@cpmsftngxa09>
 
Excellent. Just converting to vb.net from vb6 and didn't even know that
that control existed, but there it was! We were using an api call in vb6,
but this should be great.

And such a fast response. So helpful.
 
Back
Top