thank you but what is this??
"this" is an example, based on your first post of treeview nodes with Text such as "A1" and "B2", of how to select a particular node at runtime, based on the node's text (entered via an edit control).
The example uses a procedure called SelectNode(), which takes a node text string as a parameter to identify the node which should be selected.
To select items in a listview, as in your latest post, a similar sort of procedure could be devised, if at runtime you want to select a named item via code rather than through a user mouse click.