-
I'm making a program that takes a file that has about 1000 lines filled with letter combinations and inputs one of those lines into a TextBox. I want it to choose a random combination every time. For example:
The list File:
xxx123
xxx666
xxx999
xxx321
xxx699
The first time I want it to choose a random combination like xxx666, then choose a different one like xxx699 after that and then a different one like xxx321.
Could some1 write me the code!
-
for the randomizing the last 3 try this
randomize
x = int(rnd * 999)
y = "xxx" & str(x)