Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help with generating random fixtures
#3
Here is the code for the generate button:
Code:
Dim r As New Random
TextBox1.Text = String.Format("{0} vs {1}", ListBox1.Items(r.Next(0, ListBox1.Items.Count)), ListBox2.Items(r.Next(0, ListBox2.Items.Count)))
My software company: Porosis Software
Games: Terrantula
Apps: Mathanasis, ColorGrabber
Reply


Messages In This Thread
RE: Need help with generating random fixtures - by thanasis2028 - 03-14-2011, 10:28 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [How to] Create random strings(upper,lower and integers)[Src] Modestep 11 2,948 05-14-2011, 02:17 AM
Last Post: モrainee
  [Snippet] Random pick from list (Range) euverve 0 693 05-12-2011, 08:22 AM
Last Post: euverve
  [Tut] Generating Random Strings (200 Random Results = LIMIT) [Tut] Resistance 7 1,856 04-12-2011, 03:18 PM
Last Post: Resistance
  Generate Random Numbers & Letters [ Small Function ] MYPE 22 4,162 04-02-2011, 05:25 PM
Last Post: Pyratepig
  Random selection from list? pers2981 1 734 11-14-2010, 01:46 PM
Last Post: KoBE

Forum Jump:


Users browsing this thread: 4 Guest(s)