hey im working on somthing were theres a ricktextbox and you put a number in it and it spams different numbers from 0 to the number in richtextbox plz give me code ty
it's easy, just convert the number in the textbox in integer and then use the random, like:
dim a as new random
dim b as integer = int(textbox1.text)
dim c as integer
c = a.next(0, b)
in c you will have the random number
hope this help :=)
Originally Posted by tremaster
hey im working on somthing were theres a ricktextbox and you put a number in it and it spams different numbers from 0 to the number in richtextbox plz give me code ty