i just don't see how the topic "randomize a list" could be taken as anything but randomizing the possitions of list items... i.e. misc - sort - Randomize list in winamp.. at any rate, i figured out how to do it with just one list:
and i think that's what winamp does, because sometimes you can see the items in the playlist being replacedCode:For x = 0 To List1.ListCount - 1 y = Int(Rnd * (List1.ListCount - (x + 1))) + x - 1 temp$ = List1.List(x) temp2$ = List1.List(y) List1.RemoveItem (x) List1.AddItem temp2$, x List1.RemoveItem (y) List1.AddItem temp$, y Next




Reply With Quote