ok im working on a prograam which uses radio buttons and is suppose to calculate the finalgrade it looks like the picture i have attached if that doesnt work i uploaded it here
anyways iv started it and it looks like this
these are globals
Dim gdblradbuttons As Double = 3
Dim gdblradtimeline As Double = 5
Dim TestScore As Integer
Dim FinalGrade As Double
then the btnComputeGrade_Click
txtFinalGrade.Text = FinalGrade
nudTestScore.Value = TestScore
FinalGrade = gdblradbuttons + TestScore
then the radio buttons have the following properties
Private Sub radNone_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles radNone.CheckedChanged
gdblradbuttons = 0
End Sub
Private Sub radAverage_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles radAverage.CheckedChanged
gdblradbuttons = 3
End Sub
Private Sub radAboveAverage_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles radAboveAverage.CheckedChanged
gdblradbuttons = 5
End Sub
Private Sub radOnTime_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles radOnTime.CheckedChanged
gdblradtimeline = 0
End Sub
Private Sub rad1DaysLate_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles rad1DaysLate.CheckedChanged
gdblradtimeline = 5
End Sub
Private Sub rad2DaysLate_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles rad2DaysLate.CheckedChanged
gdblradtimeline = TestScore - TestScore
for some reason i cant get it to work i dont know what im doing wrong the only errro i get it "option strict dissallows implicit conversons
anyone help would be greatyl appreciated
http://www.imagestation.com/picture...d8/facab389.jpg
anyways iv started it and it looks like this
these are globals
Dim gdblradbuttons As Double = 3
Dim gdblradtimeline As Double = 5
Dim TestScore As Integer
Dim FinalGrade As Double
then the btnComputeGrade_Click
txtFinalGrade.Text = FinalGrade
nudTestScore.Value = TestScore
FinalGrade = gdblradbuttons + TestScore
then the radio buttons have the following properties
Private Sub radNone_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles radNone.CheckedChanged
gdblradbuttons = 0
End Sub
Private Sub radAverage_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles radAverage.CheckedChanged
gdblradbuttons = 3
End Sub
Private Sub radAboveAverage_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles radAboveAverage.CheckedChanged
gdblradbuttons = 5
End Sub
Private Sub radOnTime_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles radOnTime.CheckedChanged
gdblradtimeline = 0
End Sub
Private Sub rad1DaysLate_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles rad1DaysLate.CheckedChanged
gdblradtimeline = 5
End Sub
Private Sub rad2DaysLate_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles rad2DaysLate.CheckedChanged
gdblradtimeline = TestScore - TestScore
for some reason i cant get it to work i dont know what im doing wrong the only errro i get it "option strict dissallows implicit conversons
anyone help would be greatyl appreciated
http://www.imagestation.com/picture...d8/facab389.jpg