Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

File structure and files in TreeView

Posted on 1998-06-05
4
Medium Priority
?
160 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
[X]
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
  • 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 100 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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 …
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
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…
Suggested Courses

618 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