I found this Code (VB6) but cant convert it into .NET (I am not sure if its correct code) Dim nodChild As Node Dim sLVItem As String Set nodChild = TreeView1.SelectedItem.Child sLVItem = ListView1.SelectedItem Do While ((nodChild Is Nothing) = False) If (nodChild = sLVItem) Then nodChild.Selected = True Exit Do End If Set nodChild = nodChild.Next Loop
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)