![]() |
i have to write a project that acts like a simple quizz, 3 topic (shakespeare) and has about 10 questions to each topic. any ideas for the codeing?
|
just start ?
It shouldn't be that hard. |
yeah i did start, i did the background work, found the QA's i needed, set up the main form... but it's the codes i need the help with. i just cannot get the lingo. :wallbash:
|
Code:
Dim greens_vbasic_knowledge as Integer |
Hey velik, maybe the guy really deserves that as he probably expected someone to do the work for him, but maybe you could also suggest something more productive, like a book or something. I'm pretty sure there must be some kind of "Visual Basic for beginners" book or magazine somewhere (although I never bought any - but again, I never had the need to know anything about VB :whistling: ).
|
First of all, that guy's a girl. That girl is in programming class. So books and tutorials she probably has.
And secondly I think his coding solution is darn impressive. Made me laugh anyways. |
what version of visual basic?
vb 6.0 or the newer one thats used I think its VB .net cause I only know the older vb 6.0. Anyway, for each question, make a radio button. One yes, and one no. Make two interger variables, total_correct and total_wrong. For each question's correct radio button, have it increment the total_correct variable, and for incorrect answers, the total_wrong variable. At the end, dump both variables into a msgbox or a label, ie: You got 8 Questions right, and 4 questions wrong. There are other ways doing this too. BTW velik, in the msgbox, what is RTFM?. I am guessing thats the message since its in quotes? This one: MsgBox("RTFM!",1) |
Read The F***ing Manual
|
The current time is 01:57 AM (GMT) |
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.