T
Tony
Hello;
VB.Net, .net 3.5, vs2008
I created a WPF app and I am trying to populate a treeview control
with the local computers drives, folders and files.
this is what I have so far: the treeview control is not populating.
Can anyone push me in the right direction?
Imports System.IO
Imports System.Windows.Controls.ItemCollection
Class Window1
Sub main()
For Each di As DriveInfo In DriveInfo.GetDrives()
TreeView1.Items.Add(di)
Next
End Sub
End Class
VB.Net, .net 3.5, vs2008
I created a WPF app and I am trying to populate a treeview control
with the local computers drives, folders and files.
this is what I have so far: the treeview control is not populating.
Can anyone push me in the right direction?
Imports System.IO
Imports System.Windows.Controls.ItemCollection
Class Window1
Sub main()
For Each di As DriveInfo In DriveInfo.GetDrives()
TreeView1.Items.Add(di)
Next
End Sub
End Class