title: How to limit the texbox to accept only numbers and backspace?
body: <p>I have to create a textbox which will ignore all the non numeric input. 
  I tried to use this code which I found in this site</p>
  
  <pre><code>Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
              e.Handled = Not Char.IsDigit(e.Keychar)
  End Sub
  </code></pre>
  
  <p>But I have a mistake in this part of the code <code>System.Windows.Forms.KeyPressEventArgs</code></p>
  
  <p>What am I doing wrong?</p>