Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

i have a form and i want to see folders in one window and the files in those folders in another window

image attached of how i need it to work.

http://www.mwarburton.pwp.blueyonder.co.uk/shot.gif

Posted
i have a form and i want to see folders in one window and the files in those folders in another window

image attached of how i need it to work.

 

the class you should use is System.IO.Directory

 

The methods are

GetLogicalDrives() retrieving all the disks

GetDirectories() retrieving all directories

GetFiles() retrieving all files

 

They all return an array of strings containing the names of the items.

 

with this information you can build what you want, using these Controls the treeview and the listview.

 

This should get you started, If you still need some help please let me know

 

Greetz

  • Leaders
Posted
There is a directory tree view control available for free (make sure you read the license, I don't know the details) on MSDN as part of the VBPowerPack. Do a search for VBPowerPack and you will be sure to find it.
[sIGPIC]e[/sIGPIC]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...