In VB, there was a simple little control called a file listbox. I want to
implement the same thing as elegantly as possible in C#. I think I do it with
the combination of a DirectoryInfo object and a Listbox control. But I'm not
quite sure how I hook them together. Any help would be much appreciated!

Alex

Re: Good old-fashion File Listbox in C#.NET by Rob

Rob
Tue Aug 10 07:09:11 CDT 2004

Check out the VB.NET Power Pack. It comes with both a FolderViewer and
FileViewer control (as well as several others) and it comes with source so
you could use them as-is or translate them to C#.

http://msdn.microsoft.com/vbasic/default.aspx?pull=/library/en-us/dv_vstechart/html/vbpowerpack.asp

--
Rob Windsor [MVP-VB]
G6 Consulting
Toronto, Canada


"Alex Maghen" <AlexMaghen@discussions.microsoft.com> wrote in message
news:D0A03B26-4211-4825-A4B3-37234A1AF8F5@microsoft.com...
> In VB, there was a simple little control called a file listbox. I want to
> implement the same thing as elegantly as possible in C#. I think I do it
with
> the combination of a DirectoryInfo object and a Listbox control. But I'm
not
> quite sure how I hook them together. Any help would be much appreciated!
>
> Alex