How to get only numbers and - in the text box?
How to get only Alphabates and . in text box?
How to get uppercase alphabate in Text box?
It is not very hard if you use regex. Not knowing if you have three textboxes or one, here is some code using one textbox and three radiobuttons to change validation of the input in textbox1. Imports System.Text.RegularExpressions Public Class Form1 Private Sub Form1_Load(sender As Object, e As EventArgs) Handles … Read More
The following code will allow/prevent the entry of specific keys. Add a Case statement for each key or range of keys you want to allow. Note that you have to add a Case to allow BackSpace but not Left/Right Arrow or Delete. Public Class Form1 Private Sub Form1_Load(sender As System.Object, … Read More
Edited by Minimalist
Edited by Reverend Jim