I want to have a random picture to be displayed in a picturebox from a list of jpeg files in my debug folder in visual basics.
At the moment i've been using this code to display a specific image but I want the image to be random...
If Label1.Text = "1" Then PictureBox1.Image = Image.FromFile("FILEPATH")