File tree view?

  • Thread starter Thread starter Robin Tucker
  • Start date Start date
R

Robin Tucker

As I haven't had any lucking finding a FREE control to provide an
explorer-style tree view, I have to create my own. I need therefore to
generate a tree, starting at Desktop, containing My Documents, My Computer,
My Network Places, etc. How do I get this information? Building a tree
structure from a given drive is easy, but I need to include extensions,
don't I?

btw, if anyone knows of a component that will do this (NOT a dialog -
something I can embed on a form) then I'm all ears.

Thanks

Robin
 
* "Robin Tucker said:
As I haven't had any lucking finding a FREE control to provide an
explorer-style tree view, I have to create my own. I need therefore to
generate a tree, starting at Desktop, containing My Documents, My Computer,
My Network Places, etc. How do I get this information? Building a tree
structure from a given drive is easy, but I need to include extensions,
don't I?

You will find some samples in C# for folder selection controls here,
maybe you can adapt one to show files too:

<http://www.codeproject.com/cs/miscctrl/#TreeView+Controls>
 
Perfect. Thanks very much. I was just about to go and talk my boss into
getting the company credit card out too!
 

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

Similar Threads

Tree View 1
Tree List View 9
File Explorer Tree View? 6
Tree view 1
Tree View 1
Tree view problem 3
Constant Trees and Subtrees in .NET 1
Get windows folder/file icons for a tree view 1

Back
Top