Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

File structure and files in TreeView

Posted on 1998-06-05
4
156 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

839 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