To handle input into a textbox for date
To handle input into a textbox for date
Rate To handle input into a textbox for date
(1(1 Vote))
As System.Windows.Forms.KeyPressEventArgs) Handles txtboxDate.KeyPress
'KeyPress input controlled by ASCII. Do nothing
'if these Ascii Ranges are keypress
Select Case e.KeyChar()
Case ChrW(0) To ChrW(7) 'Null to Audible bell
e.KeyChar = Nothing
Case ChrW(9) To ChrW(46) 'Horizontal Tab to Period.
e.KeyChar = Nothing
Case ChrW(58) To ChrW(255) 'Semicolen to Empty Square
e.KeyChar = Nothing
End Select
To handle input into a textbox for date Comments
No comments yet — be the first to post one!
Post a Comment