Home All Groups Group Topic Archive Search About

Directory Listing view.

Author
3 Jul 2006 9:19 PM
ngr
I used to use the DirListox control in VB6 but this is no longer supported
in VB.NET.

What I want to do:
I want to take a directory listing and show any subdirectories in a list.
When you click on a directory in the list another list appears with the
directory listing of files and directories within it.

Can anyone please advise how to take a list of directories within a
directory and then independantly of that another routine to take a file
listing.
I would really appreciate any assistance.

Thanks in advance.

Author
4 Jul 2006 4:21 AM
Cor Ligthert [MVP]
NGR,

This sounds as the standard dialog DirectoryDialog
(not in version 1.0)

http://msdn2.microsoft.com/en-us/library/ms287330.aspx

I hope this helps,

Cor


Show quoteHide quote
"ngr" <n**@tdrd.karoo.co.uk> schreef in bericht
news:ntSdncYPgoGQFzTZSa8jmw@karoo.co.uk...
>I used to use the DirListox control in VB6 but this is no longer supported
>in VB.NET.
>
> What I want to do:
> I want to take a directory listing and show any subdirectories in a list.
> When you click on a directory in the list another list appears with the
> directory listing of files and directories within it.
>
> Can anyone please advise how to take a list of directories within a
> directory and then independantly of that another routine to take a file
> listing.
> I would really appreciate any assistance.
>
> Thanks in advance.
>
>
>
Author
4 Jul 2006 6:58 AM
gene kelley
Show quote Hide quote
On Mon, 3 Jul 2006 22:19:59 +0100, "ngr" <n**@tdrd.karoo.co.uk> wrote:

>I used to use the DirListox control in VB6 but this is no longer supported
>in VB.NET.
>
>What I want to do:
>I want to take a directory listing and show any subdirectories in a list.
>When you click on a directory in the list another list appears with the
>directory listing of files and directories within it.
>
>Can anyone please advise how to take a list of directories within a
>directory and then independantly of that another routine to take a file
>listing.
>I would really appreciate any assistance.
>
>Thanks in advance.
>
>
The old DirList, FileList and DriveList controls are stiil supported.
You will have to add them to the ToolBox.

Gene