I have absolutely no idea why this wouldn't work? I thought it was working last night but apparently not?

What I'm trying to do is prevent an item from being added to the Listbox1 list twice...

So if the item is within the log, dont add it to listbox1. If it's not in the log or in listbox1 then add it.

If its not in logcmb but already in listbox1 then don't add it.

The logcmb is saved and loaded at form load and unload.

Code: Code:
  1. If LogCmb.Items.Contains(tmp) Then
  2.                     'don't add it
  3.                 Else
  4.                     If ListBox1.Items.Contains(tmp) Then
  5.                         'This is already in the list
  6.                     Else
  7.                         If InStr(tmp, "http") Then
  8.                             'if the string contains http then don't add it
  9.                         Else
  10.                             ListBox1.Items.Add(LCase(tmp))
  11.                             statusbarlbl.Text = ListBox1.Items.Count & " available"
  12.                         End If
  13.                     End If
  14.                 End If