Click to See Complete Forum and Search --> : SelectDirectory object?
Is there something like the OpenFileDialog that just allows selection of a
directory? It's probably easy to code from scratch, but I'm too lazy for
that if there's something there already...
Thanks
Frank Oquendo
11-18-2003, 01:20 PM
Dave wrote:
> Is there something like the OpenFileDialog that just allows selection
> of a directory? It's probably easy to code from scratch, but I'm too
> lazy for that if there's something there already...
VS.NET 2003 contains a BrowseForFolder dialog. Earlier versions required
a homegrown solution. Use Google to find more information on the
subject.
--
There are 10 kinds of people. Those who understand binary and those who
don't.
http://code.acadx.com
(Pull the pin to reply)
"Frank Oquendo" <frankopin@acadx.com> wrote:
>Dave wrote:
>> Is there something like the OpenFileDialog that just allows selection
>> of a directory? It's probably easy to code from scratch, but I'm too
>> lazy for that if there's something there already...
>
>VS.NET 2003 contains a BrowseForFolder dialog. Earlier versions required
>a homegrown solution. Use Google to find more information on the
>subject.
>
>--
>There are 10 kinds of people. Those who understand binary and those who
>don't.
>
>http://code.acadx.com
>(Pull the pin to reply)
>
>
Thanks Frank - another reason to upgrade soon ...
Patrick Steele [MVP]
11-18-2003, 01:20 PM
In article <3fb51663$1@devx7.web.devx.com>, frankopin@acadx.com says...
> Dave wrote:
> > Is there something like the OpenFileDialog that just allows selection
> > of a directory? It's probably easy to code from scratch, but I'm too
> > lazy for that if there's something there already...
>
> VS.NET 2003 contains a BrowseForFolder dialog. Earlier versions required
> a homegrown solution. Use Google to find more information on the
> subject.
Here's a class I did a while ago:
http://weblogs.asp.net/psteele/posts/7536.aspx
--
Patrick Steele
Microsoft .NET MVP
http://weblogs.asp.net/psteele
devx.com
Copyright Internet.com Inc. All Rights Reserved