title: How to get index of an item in listview?
body: <p>I have a listview that has numbers as its items.</p>
  
  <pre><code>ID  |  AT
  1      5
  2      3
  3      7
  4      10
  5      6
  </code></pre>
  
  <p>Now I want to search an item and get its index. For example I have a textbox and put "4" in it. It will show the index of ID = 4, which should be 3. If I search "1", it should be 0, and so on.</p>
  
  <p>I have tried </p>
  
  <pre><code>list = lvNPtable.Items(lvNPtable.Items.IndexOf(textbox1.text))   
  Msgbox(list)
  </code></pre>
  
  <p>but doesn't work. Anyone have an idea how to do this?</p>