I am having trouble trying to figure out how to remove nodes from the treeview. I don't want to clear the treeview, just the currently selected node. Here is what I have tried: dim x as variant
x = frmDataGen2.tvwSpecs.Nodes.Remove(lngIndex)
just gives me an error OR frmDataGen2.tvwSpecs.Nodes.Remove (lngIndex)
this one should work, at least it doesn't give me any errors, but the node is still in the tree. |