title: How to clear a combo box's "Selected Item" VB.Net
body: <p>I am having a problem clearing the selected item of my combo box.
  I have looked around and apparently the go to option is normally 
  "box.SelectedItem = -1" however for my code it only seems to break it.</p>
  
  <pre><code>    Dim cat2Name As String = cat2Box.SelectedItem.ToString()
      Dim listName = "cat3Box"
  
  
      cat3Box.SelectedIndex = -1
      cat3Box.Items.Clear()
  
      Call changeCatBox(cat2Name, listName)
  </code></pre>
  
  <p>This piece of code is suppose to clear everything inside of a 3rd box but it breaks the program. Any help is appreciated </p>