Link to home
Start Free TrialLog in
Avatar of jmingo
jmingo

asked on

Graphically displaying directory structures

I'm looking to graphically display a directory structure, any ideas how I could do this?

Thanks
Avatar of inthedark
inthedark
Flag of United Kingdom of Great Britain and Northern Ireland image

Is this a real project or just an exercise? I ask becuase how I would ansewer this question would depend on how much you wanted to learn.

If you really wanted to make something very special I would create a user control and place a picture box within the control, then you can make the folder look exactly as you wish and end up with a highly reusable and portable feature.
Is Treeview not helping you?
Avatar of jmingo
jmingo

ASKER

i want a more graphical view than i think treeview can do. or maybe it can do more???

its for a possible project...just trying to get an idea of how i should start.
There are two problems: getting the directory structure and putting it into a tree view.  

I'd concentrate on getting the directory structure first.  You have to watch out for the silly things like . and ..  If you try expanding those, you'll get into an infinite loop.

Only start looking at the treeview when you've gotten the directory structure.  That way, if you hit a problem, you'll know it is to do with the treeview: not getting the directory structure.

Tree view will accept tab separated strings to create a merged list and tree view so you could display the structure with the properties of each entry.
ASKER CERTIFIED SOLUTION
Avatar of inthedark
inthedark
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Try OsenXpSuite 2006 - A third party control that will make your application eye catching. Not only for displaying your need and for all your imagination and expectations. Have a look on it
Forced accept.

Computer101
EE Admin