title: Why does it error when I use List Box dot Contains?
body: <p>So when I use this code: </p>
  
  <pre><code>    If lbMembers.Contains(lbStudents.SelectedItem) Then
          MessageBox.Show("Can't add the same person twice")
      End If
  </code></pre>
  
  <p>It doesn't say there's an error. However, when I start the application it crashes the moment I try to use it and gives me this message: </p>
  
  <blockquote>
    <p>System.InvalidCastException: 'Unable to cast object of type
    'System.String' to type 'System.Windows.Forms.Control</p>
  </blockquote>
  
  <p>I've tried everything I could think of but I can't figure it out.</p>
  
  <p>Please, help a newbie out!</p>