title: Value of 'String' cannot be converted to 'System.Windows.Forms.Control' error
body: <p>I am making a launcher for a game (minecraft) but I keep getting this error..
  I made it so you open a file (minecraft.exe) via OpenGileDialog then the file name is entered into a text box (textbox1) but in the code I tryed to make it so if the path does not contain "minecraft" is would say Invalid path</p>
  
  <p>here is my code</p>
  
  <pre><code>  Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
      OpenFileDialog1.ShowDialog()
      TextBox1.Text = OpenFileDialog1.FileName
      If TextBox1.Contains("Minecraft") = False Then
          MsgBox("Invalid Path")
      End If
  End Sub
  </code></pre>
  
  <p>There is an error on TextBox1.Contains("minecraft") = False
  it says "Value of 'String' cannot be converted to 'System.Windows.Forms.Control'"
  Please help...</p>