VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



One line of code for entering only numeric values in text box. Just place this code in the text box

by Shailesh Bansal (3 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 17th May 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)

One line of code for entering only numeric values in text box. Just place this code in the text box's keypress event.

Rate One line of code for entering only numeric values in text box. Just place this code in the text box



keyascii=0
endif

Download this snippet    Add to My Saved Code

One line of code for entering only numeric values in text box. Just place this code in the text box Comments

No comments have been posted about One line of code for entering only numeric values in text box. Just place this code in the text box. Why not be the first to post a comment about One line of code for entering only numeric values in text box. Just place this code in the text box.

Post your comment

Subject:
Message:
0/1000 characters