| | |
Looking for List Box help, please!
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Nov 2004
Posts: 1
Reputation:
Solved Threads: 0
Hi All,
First time poster, so please go easy on me!
I am taking a VB.net class at Cleveland State and I have run into some trouble. I am working on a project that requires the user to input test scores via a text box and button into a list box, minimum possible score on a test (via input box, most likley, if I ever get to that part!), maximum possible score on a test, allow the user to modify or delete these scores at a later date, and then perform calculations returning the mean, variance, standard deviation, high score, low score, and score range.
I can get the calculations just fine, display the information after it is calculated..these parts are very simple to me, however I am running into one major snag before I can even go into calculations and the like...I can't for the life of me figure out how to, first, edit a number that has already been entered into a list box. I can take the number out of the box and place it back into a text box, but I can't get the code (simple as it may be) to replace that number. Second, I can't figure out how to use the contents of the list box in calculations. How do I go about gathering up all the information entered into the list box (test score, test minimum grade, test maximum grade) and put them into useable forms so that I can get my mean and class score.
My interface layout is like this:
I have a text box to enter your score followed by three buttons: Add Score, Edit Score, Delete Score. Under that is a list box where the scores are to be stored. I plan on displaying the calculations each in a seperate text box preceded by its appropriate title in a label, which would be displayed after clicking another button, Calculate.
I can provide what code I have done to anyone who may be willing to give me some tips. I am not asking for you to do this program for me, just looking for a couple lines of code that I can't seem to figure out!!
Thanks in advance for your help!
Don
First time poster, so please go easy on me!
I am taking a VB.net class at Cleveland State and I have run into some trouble. I am working on a project that requires the user to input test scores via a text box and button into a list box, minimum possible score on a test (via input box, most likley, if I ever get to that part!), maximum possible score on a test, allow the user to modify or delete these scores at a later date, and then perform calculations returning the mean, variance, standard deviation, high score, low score, and score range.
I can get the calculations just fine, display the information after it is calculated..these parts are very simple to me, however I am running into one major snag before I can even go into calculations and the like...I can't for the life of me figure out how to, first, edit a number that has already been entered into a list box. I can take the number out of the box and place it back into a text box, but I can't get the code (simple as it may be) to replace that number. Second, I can't figure out how to use the contents of the list box in calculations. How do I go about gathering up all the information entered into the list box (test score, test minimum grade, test maximum grade) and put them into useable forms so that I can get my mean and class score.
My interface layout is like this:
I have a text box to enter your score followed by three buttons: Add Score, Edit Score, Delete Score. Under that is a list box where the scores are to be stored. I plan on displaying the calculations each in a seperate text box preceded by its appropriate title in a label, which would be displayed after clicking another button, Calculate.
I can provide what code I have done to anyone who may be willing to give me some tips. I am not asking for you to do this program for me, just looking for a couple lines of code that I can't seem to figure out!!
Thanks in advance for your help!
Don
•
•
Join Date: Jan 2009
Posts: 4
Reputation:
Solved Threads: 0
Yeh problem? my name if u wanna know is Liam and i am from the UK. birmingham plz tell me if there is somthing wrong cus there seems to be with the under inflection on the "?". wierd ****ing yamkee. TOSER!!!!!!!!
![]() |
Similar Threads
- getting data from a list box. (Visual Basic 4 / 5 / 6)
- [req]How to move elements in the list box up and down using command button? (Visual Basic 4 / 5 / 6)
- List Box as input field also (JavaScript / DHTML / AJAX)
- How do I populate multiple column list box? (Visual Basic 4 / 5 / 6)
- Drive List Box Help Please for Error 68 (Visual Basic 4 / 5 / 6)
- list box --php issue (PHP)
- My list box (Java)
- "Error in linking List box with the VB6.0 database" (Visual Basic 4 / 5 / 6)
Other Threads in the VB.NET Forum
- Previous Thread: Find occurance
- Next Thread: DataGridView ComboBox Column HELP!!
| Thread Tools | Search this Thread |
.net .net2008 2008 access account add advanced application array basic beginner browser button buttons click code combo cpu cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic employees excel exists fade filter forms generatetags html images input intel internet listview mobile module monitor mysql net number objects open panel passingparameters pdf picturebox picturebox2 port position print printing printpreview problem regex reuse right-to-left save search searchvb.net select serial settings shutdown socket sqldatbase sqlserver storedprocedure survey temperature textbox timer timespan transparency txttoxmlconverter update user usercontol vb vb.net vb.netformclosing()eventpictureboxmessagebox vbnet vista visual visualbasic.net visualstudio.net visualstudio2008 web winforms wpf wrapingcode xml year






