• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 161
  • Last Modified:

File structure and files in TreeView

Hello!
I want to view the file structure, including files, from any path of any hard disk in a TreeView.

It should look like the TreeView in Explorer (but with files).
Maybe it's even possible to use that one (ocx?) in VB4/32 and get it viewing files in the same three as the folders???

I'd like to change the root easy, e.g. setPath("C:\Windows")

I think this is a really tricky one and I'm sorry I haven't got so many points to offer.
0
martinag
Asked:
martinag
  • 2
1 Solution
 
ramkalaCommented:
You can use the "OUTLINE" custom control
0
 
martinagAuthor Commented:
The outline ctrl seems to be what I want.
How do I use it..?

BTW, it's a bit ugly. Can I affect that?
0
 
martinagAuthor Commented:
Can anyone please tell me how to use it?
0
 
bruncheyCommented:
Two possible solutions:

There is a pretty good Tree List control from Bennet Tec or something like that.  Here is their address:
Bennet-Tec Information Systems,
10 Steuben Drive, Jericho, NY 11753
Phone (516) 433-6283
Fax (516) 979-6829
E-Mail: 71201.1075@Compuserve.Com

This is the one that I use, takes a little to get it going, but it works great.

As for how to use the control that comes with VB look in the white books that come with VB.  It shows how to make the parent child relationships between the nodes.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now