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

permutations of numericupdown values

$
0
0
Hello,
i need yours help, i am begginer of vb.net
i have in form 24 numericupdown controls and after i click on button1 or timer1 it start some simple math operations +-*/ and i got result in 24 labels
min number in numericupdown controls is 17, max is 1000

how to put numbers in numericupdown controls from min and max range and check are in all 24 labels result betwen -3 and 4
lets say smthg like this


Code:

if label(n).text >4 and  label(n).text<-3 then
numericupdown1.value=17
numericupdown2.value=17
.
.
.
numericupdown23.value=17
numericupdown24.value=18
else
msgbox(all values are betwen -3 and -4
end if

Tnx

Viewing all articles
Browse latest Browse all 27159

Trending Articles



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