Hi,
I would like to delete nodes from a treeview. the code i'm trying to use is
Code:
Private Sub mnuFDelete_Click()
Dim yeah As String
yeah = tvMain.SelectedItem.Index
tvMain.Nodes.Remove (yeah)
End Sub
This returns an error - Element not found
which highlights the line - tvMain.Nodes.Remove (yeah)
Please explain what i'm doing wrong, and provide a solution.
Thanks,
Apocolypse
------------------------------------------------
Apocolypse2005
Always ready and waiting to be helped!