I have an array (tvw_Nodes) that I would now like to use to add to a treeview as the names of the nodes.
These nodes would be childnodes, and then I have a second array (tvw_ChildNodes) which would be the ... hmm... grandchild Nodes??
How do I go about taking the elements from the array and adding them to the treeview?
I tried something like this but I get the error "Index out of bounds":
vb Code:
With Treeview For Ctr = 0 To Ubound(MyArray) .Nodes(ctr).Text = MyArray(ctr) Next End With
This is all done in the Form_Load()




Reply With Quote