I have restricted textbox input to numeric with the following code
Private Sub txtACI_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtACI.KeyPress
If Not Char.IsDigit(e.keychar) And Not Char.IsControl(e.keychar) Then
e.Handled = True
End If
End Sub
How do I further restrict the input to be between a number of 0 and 255?
Russ
Regards,
Russ
Private Sub txtACI_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtACI.KeyPress
If Not Char.IsDigit(e.keychar) And Not Char.IsControl(e.keychar) Then
e.Handled = True
End If
End Sub
How do I further restrict the input to be between a number of 0 and 255?
Russ
Regards,
Russ