I know im suppose to show code, but im stuck on how to make an integer, I kinda feel bad wasting a thread for a simple answer, but I cant figure it out, what im trying to do it make an integer values in the range of 10 to 1000. Could someone help me
twigan1015 0 Newbie Poster
Recommended Answers
Jump to PostSee if this helps.
Dim iMyCoolInteger As Integer = 99 '// your Integer. If iMyCoolInteger >= 10 AndAlso iMyCoolInteger <= 1000 Then '// check if value is within your preset bounds. MsgBox("Sucess: Integer is within bounds") Else '// if not within bounds. MsgBox("Fail: Integer is less than …
Jump to PostPlace the code in a Button1.Click event and not in the TextBox1.TextChanged event.
All 7 Replies
Mike Askew 131 Veteran Poster Featured Poster
codeorder 197 Nearly a Posting Virtuoso
twigan1015 0 Newbie Poster
codeorder 197 Nearly a Posting Virtuoso
twigan1015 0 Newbie Poster
codeorder 197 Nearly a Posting Virtuoso
twigan1015 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.