VB6 Treeview help

bristow

New Member
Dear All,

I’m trying to delete a selected node from a treeview. The code I am using to do this is as follows,

TreeView1.Nodes.Remove (TreeView1.SelectedNode)

The problem is that I am getting the error message "Method or data member not found". I obviously know that it’s missing something and that it needs a bit more information, but what?


Thanks,
Jonny
 
Last edited:
The code you are using is correct, are you sure you have the name of your treeview object correct?
 
Back
Top