Dear all
I have a window application, I'm using text box this text box accept only 6 number but I entering the number by keyboard this validation working fine but enter number PictureBox or button this text box accept more than 6 number. how to fix it.
by Keyboard insert

by button insertion


Rajveer singhPosted Aug 23, 2017, 12:26 AM
Nilesh Shah Ji,
Nilesh ShahPosted Aug 22, 2017, 9:18 AM
Rajveer singh
Did you find any solution? If my answer worked for you, please mark it as "Accepted" and close this question.
Nilesh ShahPosted Aug 14, 2017, 8:14 AM
did my solution work or not?
you can post your code for any more help
Rajveer singhPosted Aug 12, 2017, 2:10 AM
Bryian TanPosted Aug 11, 2017, 9:31 AM
Nilesh ShahPosted Aug 11, 2017, 9:27 AM
first of all, the category of your question should be "windows forms"
Did you set the max length property of the textbox or not?