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:
  1. With Treeview
  2.     For Ctr = 0 To Ubound(MyArray)
  3.         .Nodes(ctr).Text = MyArray(ctr)
  4.     Next
  5. End With

This is all done in the Form_Load()