Treeview VB.net 2003 Programmatically select node

Joined
Feb 17, 2008
Messages
1
Reaction score
0
I'm trying, without much success, to find a specific node in Treeview VB.net 2003 by the text and then programmatically select that node. Please note the VB.NET 2003 - I received help that only worked in 2007. Thanx.

Ben, Rookie
 
Joined
Jun 18, 2008
Messages
1
Reaction score
0

Giveing a treeview with 1 level - selecting the 2nd node TreeView1.SelectedNode = TreeView1.Nodes(1)

Giveing a treeview with two levels - selecting the 1st node of 1st node
TreeView1.SelectedNode = TreeView1.Nodes(0).Nodes(0)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top