Solved

File structure and files in TreeView

Posted on 1998-06-05
4
153 Views
Last Modified: 2010-05-03
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
Comment
Question by:martinag
  • 2
4 Comments
 

Expert Comment

by:ramkala
ID: 1462631
You can use the "OUTLINE" custom control
0
 
LVL 4

Author Comment

by:martinag
ID: 1462632
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
 
LVL 4

Author Comment

by:martinag
ID: 1462633
Can anyone please tell me how to use it?
0
 
LVL 1

Accepted Solution

by:
brunchey earned 50 total points
ID: 1462634
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now