Visual BASIC Checkboxes

G

Guest

Guest
I am trying to make a multiple choice quiz in Visual BASIC and I am in need of the code needed to make one checkbox the correct one and tyhe other 3 register as incorrect if the player chooses it. It would be helpful to have a score counter as well. I am reletaviely new to VB, it is my first programming language, so bear with me. I have everything that I need except how to progra the darn checkboxes for correct/incorrect. I beliee that it involves an "If" command. Thank you for any help, all is appreciated.
 

Sunius

Distinguished
Dec 19, 2010
391
0
19,060
35
Have an array of right choices. Like: {0, 2, 1, 2, 3} - the correct answers are first, third, second, third, fourth. And with IF just check whether the correct index is selected.
 
Thread starter Similar threads Forum Replies Date
M Apps General Discussion 1
E Apps General Discussion 1
Rainfire Apps General Discussion 3
R Apps General Discussion 1
RAZER Gamer Apps General Discussion 2
Cathroad Apps General Discussion 1
RAZER Gamer Apps General Discussion 3
M Apps General Discussion 1
K Apps General Discussion 2
I Apps General Discussion 6
MrAlaweey98 Apps General Discussion 1
M Apps General Discussion 5
S Apps General Discussion 3
A Apps General Discussion 1
T Apps General Discussion 2
V Apps General Discussion 3
V Apps General Discussion 1
G Apps General Discussion 3
N Apps General Discussion 1
2 Apps General Discussion 1

ASK THE COMMUNITY