Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27189

need help with textbox conditions

$
0
0
I want my textbox to only accept integers and display an error message anytime any letters or other characters are entered, is there a simple piece of coding to do this? e.g

if txtGuess = string then
msgbox("please enter a number")
end if

Viewing all articles
Browse latest Browse all 27189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>