title: ListView delete item by name using VB.net
body: <p>I was just wondering if it was possible to delete an item from a listview just knowing its text name (as in listbox.text) without the need to know the index or have it selected/highlighted?</p>
  
  <pre><code> Dim lvi As ListViewItem
   Dim lvi2 As ListViewItem
  
      For Each lvi In lstMaster.Items
          For Each lvi2 In lstNew.Items
              If lvi.Text = lvi2.text Then
                  'Remove the item using its TEXT..
                  'Eample:
                  'lstMaster        | lstNew
                  '--------------------------------------
                  'Bob              | Jenny
                  'Jason            |
                  'Jenny            |
                  'Zac              |
                  '--------------------------------------
                  'The program should delete "Jenny" from the lstMaster....
              End If
          Next
      Next
  </code></pre>
  
  <p>Thanks!</p>
  
  <p>David</p>