I need a folder browser, but not as a dialog

J

Justin F.

In my app I want the users to be able to select a folder to do their work
in. The FolderBrowserDialog is a great way to do this, but I don't want to
have a dialog pop up every time they want to switch folders. Is there a
treeview control (ala Windows Explorer) in the 1.1 framework, or do I need
to find a 3rd party control? If I need to find a 3rd party control, can
anyone suggest a good free one?

Thanks,
Justin
 
W

William Ryan eMVP

Justin:

It'd be very easy to write one, as a matter of fact, I think the SDK that
comes with the framework has a Walkthrough that helps you build a version of
Windows Explorer. All you need is the DirectoryInfo or Directory classes and
the FileInfo or File classes and a little recursion. YOu could probably
build it in the time ti would take to get your credit card out and pay for a
tool.

--

W.G. Ryan, eMVP

Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
Let Microsoft know!
https://www.windowsembeddedeval.com/community/newsgroups
 
C

Cor Ligthert

Hi Justin,

As Bill wrote with a little difference the Window explorer sample is in the
resource kit.

VB.net Resource kit
http://msdn.microsoft.com/vbasic/vbrkit/default.aspx

And if you have problems installing the resource kit
http://msdn.microsoft.com/vbasic/vbrkit/faq/#installvdir

Because there is an absolute terrible bug in the folderbrowser (this is the
way Herfried always write it when I give the link, it is with paths longer
than 128 positions), does Herfried forever give this links. (Probably he
does it again as well)

Folder Browser component for .NET
<URL:http://www.codeproject.com/cs/miscctrl/folderbrowser.asp>

306285 - HOW TO: Implement a Managed Component that Wraps the Browse For
Folder Common Dialog Box by Using Visual C# .NET
<URL:http://support.microsoft.com/?kbid=306285>

FolderBrowser.msi
<URL:http://www.gotdotnet.com/team/vb/FolderBrowser.exe>

How to pick a directory
<URL:http://groups.google.com/groups?selm=q0JKzDbmCHA.2144@cpmsftngxa09>

I hope this helps with thank for Herfried as well of course.

Cor
 
H

Herfried K. Wagner [MVP]

* "Justin F. said:
In my app I want the users to be able to select a folder to do their work
in. The FolderBrowserDialog is a great way to do this, but I don't want to
have a dialog pop up every time they want to switch folders. Is there a
treeview control (ala Windows Explorer) in the 1.1 framework, or do I need
to find a 3rd party control? If I need to find a 3rd party control, can
anyone suggest a good free one?

<URL:http://www.codeproject.com/cs/miscctrl/foldertreeview.asp>
 
H

Herfried K. Wagner [MVP]

* "Cor Ligthert said:
Because there is an absolute terrible bug in the folderbrowser (this is the
way Herfried always write it when I give the link, it is with paths longer
than 128 positions), does Herfried forever give this links. (Probably he
does it again as well)

I don't post these links in this case, because the question is not
directly abot FolderBrowserDialog.

:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top