Originariamente inviato da tekanet
Prima di fare l'aggiunta alla tree, controlla che l'elemento non esista già: se esiste, lo rimuovi. Se non esiste, lo aggiungi.

HTH, tK
Questo è il codice che uso...


If (CPUListBox1.SelectedItem <> "") Then
Dim Entry As Object
For Each Entry In CPUListBox1.CheckedItems
ListView1.Items.Add(Entry.ToString())
Next
end if

tu come faresti?