title: Counting number of characters in TextBox
body: <p>I have a <code>TextBox</code> by which if the user enters more than 10 characters it displays a <code>MsgBox</code>. That part works :D </p>
  
  <p>The problem is the message also displays if the <code>TextBox</code> is empty and the user types the first character. I think thats because <code>Null</code> is seen as something greater than 10? but I'm not sure. </p>
  
  <p>A) What is going on?</p>
  
  <p>B) How can I fix this?</p>
  
  <pre><code>Private Sub TextBox3_KeyPress(sender As Object, e As KeyPressEventArgs) Handles TextBox3.KeyPress
      If TextBox3.Text.Length &gt;= 10 Then
          MsgBox("WARNING")
      End If
  End Sub
  </code></pre>