To display specific pictures i've used the code below
PictureBox1.Image = Image.FromFile(FILEPATH")
but how can I code it so a random file of a photo is displayed instaed?
To save you from the "gotcha" (thoughtfully provided by Microsoft), the `Next` method of the random number class can be called with parameters `MinValue` and `MaxValue` as in rnd.Next(0,20) The gotcha is that that some brain dead programmer at Microsoft decided that the `MinValue` is inclusive and `MaxValue` is exclusive … Read More
Edited by Reverend Jim
Edited by LaxLoafer: OCD