Listbox paste (prevent Duplicates)

  • Thread starter Thread starter Danny Macwan
  • Start date Start date
D

Danny Macwan

Guest
i want to prevent duplicate items in the list box. The code i am working with.

ListBox1.Items.AddRange(Clipboard.GetText.Split(New String() {vbCrLf}, StringSplitOptions.RemoveEmptyEntries))
ListBox1.Sorted = True

Continue reading...
 

Similar threads

Back
Top