I've gotten myself is bit of a mess where I'm loading a treeview. Basically I initialize the treeview control with a single root node we'll call it root. I do this by using the following syntax:
Code:
Dim tNode as TreeNode = New TreeNode("root") tNode.name = "root" TreeView1.Nodes.Add(tNode)