TheSwamp

Code Red => .NET => Topic started by: MickD on June 02, 2006, 02:43:32 AM

Title: Folder Browsing in .Net
Post by: MickD on June 02, 2006, 02:43:32 AM
I couldn't believe it, I couldn't find a folder browser in the .net framework!!
There is the OpenFile and SaveFile dialogs, why not this one?!?

Anyway, if you do any development in .net you will be sure to need this sooner or later, it took me a while to find a decent resource so here it is -

http://www.netomatix.com/FolderBrowser.aspx

Enjoy,
Mick.
Title: Re: Folder Browsing in .Net
Post by: Kerry on June 02, 2006, 03:43:39 AM
ta Mick !
Title: Re: Folder Browsing in .Net
Post by: Glenn R on June 02, 2006, 08:02:11 AM
You're kidding right?

Visual Studio .Net 2003:

Code: [Select]
System.Windows.Forms.FolderBrowserDialog dlg = new System.Windows.Forms.FolderBrowserDialog();

If memory serves, this what not available in .NET 1.0, but was introduced in .NET 1.1.

Cheers,
Glenn.
Title: Re: Folder Browsing in .Net
Post by: MickD on June 04, 2006, 06:03:15 PM
Well there you go, I'm still using 2002. :oops:
I started looking for an answer to this and I came up with a plethora of work arounds so I figured that was that.
Seems like time to upgrade VS.
Title: Re: Folder Browsing in .Net
Post by: Glenn R on June 04, 2006, 07:39:27 PM
Seriously Mick, go for 2005 - I think you will like it a LOT!

Cheers,
Glenn.