title: visual basic error BC30456 'Form1' is not a member of 'WindowsApplication1'
body: <p>Hello I am trying to do an exercise and keep getting this error when compiling.</p>
  
  <blockquote>
    <p>Visual Basic error BC30456 'Form1' is not a member of 'WindowsApplication1'</p>
  </blockquote>
  
  <p>I'm not sure how to fix it.</p>
  
  <p>Below is my code:</p>
  
  <pre class="lang-vb prettyprint-override"><code>Public Class frmCentsConverter
      Private Sub txtAmount_TextChanged(sender As Object, e As EventArgs) Handles txtAmount.TextChanged
          If IsNumeric(txtAmount.Text) Then
              Dim NumberofCents As Integer
  
              NumberofCents = CInt(txtAmount.Text)
              lblDollars.Text = CStr(NumberofCents \ 100)
              lblCents.Text = CStr(NumberofCents Mod 100)
          End If
      End Sub
  
      Private Sub lblTitle_Click(sender As Object, e As EventArgs) Handles lblTitle.Click
  
      End Sub
  End Class
  </code></pre>