I have a text box , I want it to accept both numbers and point just to enter amount like this 2.75 .
Private Sub thiscontrol_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles thiscontrol.KeyPress
If Char.IsNumber(e.KeyChar) = False And Char.IsControl(e.KeyChar) = False Then
e.Handled = True
What also I have to add. ?