Add the tree control to your form
in the forms load event
private sub form_load()
'add a parent node to the list
tree1.nodes.add(,,"firstkey","parent1"

'add another parent node to the list
tree1.nodes.add(,,"secondkey","parent2"

'add a child
tree1.nodes.add("firstkey",tvwchild,"childkey1","child1"

tree1.nodes.add("secondkey",tvwchild,"childkey2","child2"

'now a grandchild
tree1.nodes.add("childkey1",tvwchild,"grndkey1","grandchild1"

end sub
there is a lot of help in the VB forums if you just do a search