Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old September 3rd, 2008, 05:01 AM
Newbie
 
Join Date: Sep 2008
Posts: 1
Default Help with a quiz program

Hi, i'm currently working on a fairly simple quiz program for my Software Development course at school, and I had a few questions.

1) There is 10 questions, and I want to know if i should just make a new form for each question or is there an easier/more efficient way? If so how?

2)How do I use radio buttons? There is 4 different possible answers for each questions, and I really have no idea on how to use them.

Thanks for you're help guys (and girls).

Oh BTW i'm using VB Express.
Reply
  #2  
Old September 3rd, 2008, 11:41 PM
kadghar's Avatar
Expert
 
Join Date: Apr 2007
Location: Mexico City
Age: 25
Posts: 1,084
Default

remember labels have properties, such as 'caption'
so in the click event of a button you write

label1.caption="hello"

you'll change it

you can make a string array with many captions, and each time someones clicks the buton, you just display the next array element

HTH
Reply
  #3  
Old September 5th, 2008, 10:36 AM
Member
 
Join Date: Dec 2007
Posts: 91
Default

You may use MSAccess as storing all the questions and their answers. Now use one label with four radio buttons and one command button in the form. Label for showing the questions, radio buttons for 4 options (answers) and command button to accept the selected radio button. When after selection an option the user clicks the command button, it will check (from the dbf file) for the correct answer and display a message whether the option was correct or not, if correct proceed to next question otherwise may give correct answer and proceed further or terminate.
Reply
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles