JennerStyle
Member
- Joined
- Jul 26, 2004
- Messages
- 6
- Programming Experience
- Beginner
I am working with a 2 formed project and am trying to write a Form Load event procedure to reset the input values to blank for the name page and 0 for the scores. I have the following:
Private Sub btnok_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnok.Click
'Chapter 6: Averaging Test Scores
'Programmer: Jennifer Jones
'Date: June 2004
'Purpose: To be able to enter student's names and test scores in order to compile an average.
'Display a dialog box for data entry of each student's name
'test scores. Display the dialog box until the user clicks the button.
Dim objAddItemForm As New frmEnterScore
objadditemfrmEnterScore.ShowDialog()
End Sub
My problem comes in that the objadditemfrmEnterScore.ShowDialog() is giving me that it is not declared and I am frustrated again. Could use some advice PLEASE
Private Sub btnok_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnok.Click
'Chapter 6: Averaging Test Scores
'Programmer: Jennifer Jones
'Date: June 2004
'Purpose: To be able to enter student's names and test scores in order to compile an average.
'Display a dialog box for data entry of each student's name
'test scores. Display the dialog box until the user clicks the button.
Dim objAddItemForm As New frmEnterScore
objadditemfrmEnterScore.ShowDialog()
End Sub
My problem comes in that the objadditemfrmEnterScore.ShowDialog() is giving me that it is not declared and I am frustrated again. Could use some advice PLEASE