Hi Larry ----
>I did this once, but cannot remember how and documentation seems scarce can anyone tell me how to add items to a tree view with the indentation levels, etc.
oTreeview.Nodes.Add(relative,relationship,key,text,image,selectedimage)
So, for a root node:
oTreeview.Nodes.Add(,,cRootKey,"Root Item")
For a child of that (the relationship=4, child):
oTreeview.Nodes.Add(cRootKey,4,cChildKey,"Child Item")
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05