Groups | Blog | Home
all groups > vb.net controls > march 2006 >

vb.net controls : DirListBox control



M
3/16/2006 3:23:19 PM
The Visual Basic 6.0 DirListBox control allow you to select a Folder.
How to select a Folder in VB.NET?


M
3/16/2006 3:49:20 PM
Thanks
But I cannot find the FolderBrowserDialog class


[quoted text, click to view]

M
3/16/2006 4:31:01 PM
Thanks,
I am using NET.1.0
I think probably the only way is using tree view

[quoted text, click to view]

Herfried K. Wagner [MVP]
3/17/2006 12:00:00 AM
"M" <mxchen@hotvoice.com> schrieb:
[quoted text, click to view]

The page above includes solutions for .NET 1.0 too.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
Herfried K. Wagner [MVP]
3/17/2006 12:30:07 AM
"M" <mxchen@hotvoice.com> schrieb:
[quoted text, click to view]


You can use the FolderBrowserDialog class for this purpose.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
Herfried K. Wagner [MVP]
3/17/2006 1:23:14 AM
"M" <mxchen@hotvoice.com> schrieb:
[quoted text, click to view]

Note that FolderBrowserDialog is not a control. It's a component which can
be placed onto a form and can be used to display Windows' folder selection
dialog. FolderBrowserDialog ist available since .NET 1.1 and is not
available in .NET 1.0.

Displaying the dialog for choosing a directory
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=folderbrowserdialog&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
AddThis Social Bookmark Button