I'm making a quiz and I wanna make it so everytime i click the Submit button it loads the next questions' respective picture from a file directory on my pc.
So first of all the questions are sorted randomly: 7 3 5 8 4... and stored into an array with 15 slots. So in this case it would be array(0) = 7, array(1) = 3 , 7 and 3 meaning question number 7 and question number 3 on the first and second slots. These are what my picture files look like: https://gyazo.com/5feaeb785c34acc3c04efbf53ea64973 I want to load one picture at a time into the picture box for each question like so:
For i=0 to i=14 "Load image(array(i)).png to picturebox" // so for instance when i=0 if the question on the first slot of the array is number 7, it loads image(7).png from my directory "next when submit button is clicked again"
How can i code this?
Using visual basic 2010 express btw