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!
 
Back
Top