I need help to share two listboxes for one desired outcome

5 pts.
Tags:
visual basic 2010
I need to write a program to analyze a list of grades to determine the # of A's, B's, and C's after applying a curve percentage selected by the user. 
How do I link two listboxes, one with the grades, and one  with 5 available curves that will be selected by the user to show the curved grade in the 3rd listbox? (using vb 2010/8e)
This is the code that I am using:
Public Class frmAnalysis Private Sub btnComputeCurve_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnComputeCurve.Click Dim grade, curve, curvedGrade As Double lstCurvedGrades.Items.Clear() For i As Integer = 0 To lstGradeList.Items.Count - 1 grade = CDbl(lstGradeList.Items(i)) lstCurvedGrades.Items.Add(curve) curve = grade * curve / 100 + grade Next lstCurvedGrades.Text = CStr(curve) For i As Integer = 0 To lstAvailableCurves.SelectedItems.Count - 1 curvedGrade = CDbl(lstAvailableCurves.Items(i)) Next End Sub End Class[/pre]


Software/Hardware used:
visual basic 2010

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following