Questo è il codice che uso...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
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?