Solved

File structure and files in TreeView

Posted on 1998-06-05
4
152 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
Comment Utility
You can use the "OUTLINE" custom control
0
 
LVL 4

Author Comment

by:martinag
Comment Utility
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
Comment Utility
Can anyone please tell me how to use it?
0
 
LVL 1

Accepted Solution

by:
brunchey earned 50 total points
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

744 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

16 Experts available now in Live!

Get 1:1 Help Now