Results 1 to 11 of 11

Thread: Mathematic Quiz

  1. #1
    Join Date
    Jun 2014
    Posts
    12

    Unanswered: Mathematic Quiz

    Hi guys,
    i must make a mathematical quiz with 20 questions with score and time countdown.
    after the quiz finish the score must be stored so the next time the user will login can find his score to improve it.

    My question is i must make 20 forms for each question or i can make 1 form and put there all the questions.
    The questions are multiple choice

    thanks a lot

  2. #2
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    That's all down to how you code it!

    Personally I would use one form.
    However I wouldn't show all the questions all at once.
    One at a time, with paging.
    George
    Home | Blog

  3. #3
    Join Date
    Jun 2014
    Posts
    12
    Hi gvee,
    thanks for the quick reply,

    i think is very hard to make 20 different forms.
    can you explain how to this with paging as you said?

    thanks a lot

  4. #4
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    thats up to you
    could be:-
    tabbed dialog?
    or
    create controls on the fly each time, then remove once completed/dealt with
    or
    use an embedded browser
    I'd rather be riding on the Tiger 800 or the Norton

  5. #5
    Join Date
    Jun 2014
    Posts
    12
    hi healdem ,
    i am new to VB so can you please give more detail about the 3 solutions you advice.
    which one you think is more easy to create.
    but have in mind that the results must be stored in someway so next time the user will login can find the previous result so he can improve it

    thanks a lot

  6. #6
    Join Date
    Jun 2014
    Posts
    12
    hi healdem,

    thanks for the reply.
    as i am new to VB can you please explain which of the 3 solutions is the easiest and give some clue on how to do it ?
    but please have in mind that the results must be stored so the user can find his results the next time of his login so can improve them

    thanks a lot

  7. #7
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    tabbed dialog
    or write controls on the fly

    Google
    I'd rather be riding on the Tiger 800 or the Norton

  8. #8
    Join Date
    Jun 2014
    Posts
    12
    Here is how i think to go with.

    i will go with tab control.

    attached is an image of how i think it should be.

    i have 4 radio buttons to choose the correct answer. A next button that i prefer to be hidden and only be visible when a radiobutton is clicked.

    a timer with the remaining time of the quiz

    One box that will show if the answer is correct or not

    One box with the score.

    My question is how to make the button visible only when the radiobutton is clicked?

    i know how to make the timer and i will try to find out how to check the correct answer and keep the score

    Quiz Photo by antrew1980 | Photobucket

  9. #9
    Join Date
    Jun 2014
    Posts
    12
    Hi guys i am back again.
    i have the following error.
    i use tabs also for another chapter of my project
    i have the following code
    TabControl1.SelectTab(1)
    If TabControl1.SelectedIndex = 3 Then
    TabControl1.SelectTab(+1)
    i use the code above to go the next tab but when i am in 4th tab and i press next button it goes to 2 tab and not in the 5th.
    any idea why?

    thanks also for your help

  10. #10
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    check the tab order/values in the form designer
    I'd rather be riding on the Tiger 800 or the Norton

  11. #11
    Join Date
    Jun 2014
    Posts
    12
    they are correct

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •