Removing Nodes from the TreeView Fails

Summary

Id:13463.9
Type:Bug Bug
Current Status:Open

Detail

29 Jan 2004OpenBrian D. Emert

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.