title: How to always prepend dollar sign to value in text box
body: <p>I would like to always <strong>add a $ sign inside a textbox when a user adds any number</strong>. </p>
  
  <p>My code look like this, but it is not working:</p>
  
  <pre><code>Private Sub capitalTB_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles capitalTB.TextChanged
      Dim cleanTXT As String
      If capitalTB.Text.StartsWith("$") = False Then
          cleanTXT = "$" &amp; capitalTB.Text
          capitalTB.Text = cleanTXT
      End If
  End Sub
  </code></pre>
  
  <p>When I key in the 2nd number it becomes something like this:
  <img src="https://i.stack.imgur.com/q0Gzg.png" alt="enter image description here"></p>
  
  <p>Any help would be great.</p>