Listbox question

threeman

Newbie
Joined
Apr 28, 2010
Messages
23
Reaction score
0
whenever i open up a file in the listbox the code automatically sorts the items in abc order. does anyone know of any code to jumble the items up so they arent in abc order...thanks in advance
 
Look at the properties and see is Sorted is True.
 
its on false, the problem is the items are already in abc order
 
there is over 2,000 items...would take too long manually
 
you could make a bit of code to do it.

granted computer randomization is never truly all *that* random, since more of the built in randomizers run off the computer clock cycles, but it will do the job.

Code:
http://msdn.microsoft.com/en-us/library/system.random.aspx

that's the class in the framework that will provide you with random seed numbers. list raptor will do a fine job of things like this, but if you want to roll your own that class is a good starting point.
 
Back
Top