mike-wigan Posted October 11, 2005 Posted October 11, 2005 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 Quote
TripleB Posted October 11, 2005 Posted October 11, 2005 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 Quote
mike-wigan Posted October 11, 2005 Author Posted October 11, 2005 thanks that helps alot but no doubt i will be back ...lol WARNING Newbie at work :confused: :) Quote
Leaders snarfblam Posted October 11, 2005 Leaders Posted October 11, 2005 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. Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.