Button to run a test program.
I'm a beginner at VB and I wrote a program where when you type any state located in the US in text1.text by pressing a certain button the capital will appear in text2.text. I would like to run another program where I can quiz or test a user using radios to match the question. When I create the button, how can i start by opening a new form without stopping any programs. I hope this is understandable.
Thank you.
Re: button to run a test program
Never mind, I figured it out.
Re: button to run a test program
would you like any hints on how to randomise your quizz and how to ensure it is an educational benefit rather than just a game?
here to help and guide
Re: button to run a test program
Re: Button to run a test program.
it is quite simple, but you have to read much more if you want to learn programming
http://www.vb6.us/guides/visual-basic-6-beginners-guide
Re: button to run a test program
how do you think you will randomize the fixed set of questions?
how do you think you will layout the answer options (per question)?
these questions are asked to see just how much you know!
here to help
Re: button to run a test program
Quote:
Originally Posted by
incidentals
how do you think you will randomize the fixed set of questions?
how do you think you will layout the answer options (per question)?
these questions are asked to see just how much you know!
here to help
yes because i would like a different set of questions and/or different order when you try the test again. Yes that would be fantastic. Thank you.
Re: Button to run a test program.
My guess is that most beginners will have confused VB.Net with VB6 and are posting in the wrong forum. VB6 is hard to obtain legally now.
Re: button to run a test program
in form 2 where it asks which language to learn has two buttons, Spanish and Tagalog. when i click the Spanish button form 3 appears and everything works fine. In that same form there is a button on the bottom that directs you back to form 2. In form 2 I click back to spanish, which takes me back to form 3 the entries are still there, how can i create whenever i chose the Spanish button on form 2 that all entries will always be cleared when the program takes me to form 3? Thank you
Re: button to run a test program
you neec to access the on activation event or what ever it is called in your programming language version
back to previous questions that how do you hold you data ( the words )
Re: button to run a test program
Quote:
Originally Posted by
incidentals
you neec to access the on activation event or what ever it is called in your programming language version
back to previous questions that how do you hold you data ( the words )
I don't understand what that means but here is my button code to take me from form 3 to form 2
Private Sub Command1_Click()
Spanish.Visible = False
LanguageSelect.Visible = True
End Sub
and this would be my code for my button to take me from form 2 back to form 3
Private Sub Command2_Click()
Spanish.Visible = True
LanguageSelect.Visible = False
End Sub
I labeled form 2 (LanguageSelect) and form 3 (Spanish)
Re: Button to run a test program.
Im using VB 6, the program im writing ive been working on for 3 days. Some users on here were great enough to answer other of my questions. I obtained VB 6 because I'm an IT student at Heald College and Microsoft has an alliance with heald so we are able to download their software for free. By the way I figured it out. from form 1 to form 2.
Private Sub Command1_Click()
form1.visible=false
form2.visible=true
end sub
Re: Button to run a test program.
Duplicate threads merged.
Gary