I have had some more fun with one of your old VB projects you did way back in VB102 - The Multiplication Test. Of course, going a little further.
I added validation for the two text boxes, and I save the question, the correct answer and the user answer to 3 lists so I can loop through the question list and display the results on a separate form. I also compare the user answer with the correct answer to determine is the answer given is correct or not.
In my first image, I show the test in progress and in my second image, I show the results of the test.
Nice
I always thought it would be a good idea to re-release those courses in .NET and show a side by side comparison.
Kevin RobertsonOP
@Reply 4 years ago
Yeah, that would be cool to see.
Since the results are displayed in Rich Text Box, I'm probably going to change the colours based on whether the answer is correct or not. Easy when a line of text is always in the same position. Probably have to loop though each line and identify (CORRECT) and (INCORRECT) strings and then colour them accordingly.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Visual Basic Forum.