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

VS 2010 [RESOLVED] Select x random items from a listbox and add em in an array?

$
0
0
Hello VBForums,

So I have a listbox that has many items in it and I want to select x number of random items and add them in a string array.
Any solution with code or how would it work? I can't think straight at the moment cause I've been up for 30 hours. :sick:

To get more clear - x is not random it's a constant, the selected items have to be random. The listbox contains more items than x.

Viewing all articles
Browse latest Browse all 27437

Trending Articles



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