0
Answer

Directory tree

Ask a question
csharpcorner

csharpcorner

20y
2.4k
1
Hi, I am trying to produce a utility has a directory tree down the left hand side like the windows explorer. I can easily produce a directory tree that starts from a: c: etc but what I want is one that has the desktop as its root. this would have children of MyComputer, MyNetworkplaces etc. I can get this functionalty in a dialog by using the FolderBrowser class but cannot seem to get it as a simple tree control that I can place where I want. If there is not a control already to do this is there a way of coding. For example how do I find out what lies beneth MyComputer and MyNetworkPlaces? Thanks Benson