I'm working on my first program in VB6, it's a program that will automatically pull up random questions from a text file full of multiple choice questions for the A+ quiz and test me on the material.

So far, I've got a routine to load all the questions into arrays (thanks to the help of Andrew Empson) and I put this routine into the Form_Load. I then have the code that randomly picks and displays the question and multiple choice answers and when you hit the "submit answer" command button, the program can tell if check boxes you've selected for the multiple choice are right or wrong.

And this is where I'm stuck. I'm going to turn the "submit answer" command button into a "next question" command button, but I don't know how to get back to the Form_Load from there. Obviously, I also don't want to reload the text file of questions into the arrays each time I hit the Form_Load. Where the heck is the GOTO statement in this modular world?


mikeycorn