Page 1 of 1

VB 2005 Express Tree view

Posted: 20 Aug 2007, 15:24
by SBSP
Hello.

How would i read a directory to a folder tree view control in VB 2005

In old VB6 this was easy , just drop the standard FolderView active control onto a form
and Dir1.path = "C:\Windows\Or What Ever"

But i think the tree view in VB05 needs code in the background to physically read the structure and then pass it
to the TreeView List to and create the nodes.

Any one upto helping me ?

Posted: 23 Aug 2007, 16:34
by stewy_w

Code: Select all

FolderBrowseDialog.SelectedPath = "C:\Windows\Or What Ever"