How do I make my program print checkbox information in VB?
-
I have to make a form where I set up a page printout that includes: Student: (plus name from a textbox) *DONE* Highschool: (plus name of highschool from combobox) *DONE* Major: (plus a major from a listbox) *DONE* Dean's list: (plus "yes" or "no", depending on if the checkbox is checked or not) *NEED HELP* Year in highschool: (plus an option from a selected radio button in a group box) *NEED HELP* So what I need to figure out is how to print information from a selected radio button, and how to print "yes" or "no" depending on whether a checkbox is checked or not. Thanks in advance for the help. I hope you can answer quickly, it's due in an hour.
-
Answer:
Probably a bit late, hope you managed okay. If not, to check if the checkbox is checked or not, you just use CheckBox1.Checked. So to set a string value to be "yes" or "no", is simply Dim isCB1checked as String = "yes" If CheckBox1.Checked = false Then isCB1checked = "no" End If Best, - D.E.
Tony W at Yahoo! Answers Visit the source
Related Q & A:
- How do I make a python web program that is on a ubuntu server allow access to the server?Best solution by Yahoo! Answers
- How do I get a job in Geographic Information Systems?Best solution by Yahoo! Answers
- How do I make my print size bigger with my printer?Best solution by Yahoo! Answers
- How can i get my sss employee static information and sss employment history?Best solution by Yahoo! Answers
- The print is too small in my email, how do I make it larger?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.