Hello,
i have 3 listboxes on my screen..
A listbox with emails from datasource A, a listbox with emails from datasource B and an empty listbox
i want in the empty listbox the emails that are in A but not in B
i've got this but it doesn't put any emails in the listbox...
For k As Integer = lsbSQL.Items.Count - 1 To 0 Step -1
If lsbAccess.Items.Contains(lsbSQL.Items(k)) Then
MessageBox.Show("Item Found")
lsbVerschil.Items.Add(lsbSQL.Items(k))
Else
MessageBox.Show("Item Not Found")
End If
Next