Re: VB.DOT NET Maths Question

  • From: "Ricks Place" <OFBGMail@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Sun, 28 Sep 2008 10:24:41 -0400

Sure, fix the errors and declare your variables. Check the Spelling carefully. If you find one you can not fix put up a question on list and I will take a look. I am off to watch some tv for now.

Rick USA
----- Original Message ----- From: "Marvin Hunkin" <startrekcafe@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Sunday, September 28, 2008 10:21 AM
Subject: Re: VB.DOT NET Maths Question


       HI.
well, got that fixed, but still got errors.
not liking some characters and also saying the names of some variables are
not declared.
can you help?
will paste the error messages below.
did try your technique, but still stratching my head, and they seem to be
all right.
sorry about this.
and jaws is behaving strangely, when i use the left slash key, with insert, it jumps to the line, and when i review it, it only reads half the line, and
jumps to the class and declaration window.
really strange.
so here's the errors, can you show me how to fix the errors.
unless i am doing some thing wrong or stupid, or an oversight on my part.
cheers Marvin.

Error 1 Name 'ScoreThreeInteger' is not declared.
C:\DOCS\Tafe\CertificateFourProgramming\CertFour\Programming\VisualBasic\Book\VisualBasicProgramming\ChapterFive\Example\Bowling\Bowling\frmBowling.vb
14 53 Bowling
Error 2 Character is not valid.
C:\DOCS\Tafe\CertificateFourProgramming\CertFour\Programming\VisualBasic\Book\VisualBasicProgramming\ChapterFive\Example\Bowling\Bowling\frmBowling.vb
18 14 Bowling
Error 3 Name 'GameOneInteger' is not declared.
C:\DOCS\Tafe\CertificateFourProgramming\CertFour\Programming\VisualBasic\Book\VisualBasicProgramming\ChapterFive\Example\Bowling\Bowling\frmBowling.vb
74 42 Bowling
Error 4 Name 'GameTwoInteger' is not declared.
C:\DOCS\Tafe\CertificateFourProgramming\CertFour\Programming\VisualBasic\Book\VisualBasicProgramming\ChapterFive\Example\Bowling\Bowling\frmBowling.vb
74 58 Bowling
Error 5 Name 'GameThreeInteger' is not declared.
C:\DOCS\Tafe\CertificateFourProgramming\CertFour\Programming\VisualBasic\Book\VisualBasicProgramming\ChapterFive\Example\Bowling\Bowling\frmBowling.vb
74 74 Bowling
Error 6 Name 'GameOneInteger' is not declared.
C:\DOCS\Tafe\CertificateFourProgramming\CertFour\Programming\VisualBasic\Book\VisualBasicProgramming\ChapterFive\Example\Bowling\Bowling\frmBowling.vb
75 40 Bowling
Error 7 Name 'GameTwoInteger' is not declared.
C:\DOCS\Tafe\CertificateFourProgramming\CertFour\Programming\VisualBasic\Book\VisualBasicProgramming\ChapterFive\Example\Bowling\Bowling\frmBowling.vb
75 56 Bowling
Error 8 Name 'GameThreeInteger' is not declared.
C:\DOCS\Tafe\CertificateFourProgramming\CertFour\Programming\VisualBasic\Book\VisualBasicProgramming\ChapterFive\Example\Bowling\Bowling\frmBowling.vb
75 72 Bowling
Error 9 Name 'GameOneInteger' is not declared.
C:\DOCS\Tafe\CertificateFourProgramming\CertFour\Programming\VisualBasic\Book\VisualBasicProgramming\ChapterFive\Example\Bowling\Bowling\frmBowling.vb
76 44 Bowling
Error 10 Name 'GameTwoInteger' is not declared.
C:\DOCS\Tafe\CertificateFourProgramming\CertFour\Programming\VisualBasic\Book\VisualBasicProgramming\ChapterFive\Example\Bowling\Bowling\frmBowling.vb
76 60 Bowling
Error 11 Name 'GameThreeInteger' is not declared.
C:\DOCS\Tafe\CertificateFourProgramming\CertFour\Programming\VisualBasic\Book\VisualBasicProgramming\ChapterFive\Example\Bowling\Bowling\frmBowling.vb
76 76 Bowling
Error 12 Name 'intGaneTwo' is not declared.
C:\DOCS\Tafe\CertificateFourProgramming\CertFour\Programming\VisualBasic\Book\VisualBasicProgramming\ChapterFive\Example\Bowling\Bowling\frmBowling.vb
83 42 Bowling
Error 13 'tbHighGameTextBox' is not a member of 'Bowling.frmBowling'.
C:\DOCS\Tafe\CertificateFourProgramming\CertFour\Programming\VisualBasic\Book\VisualBasicProgramming\ChapterFive\Example\Bowling\Bowling\frmBowling.vb
86 17 Bowling
Error 14 Argument not specified for parameter 'index' of 'Public ReadOnly
Default Property Chars(index As Integer) As Char'.
C:\DOCS\Tafe\CertificateFourProgramming\CertFour\Programming\VisualBasic\Book\VisualBasicProgramming\ChapterFive\Example\Bowling\Bowling\frmBowling.vb
86 43 Bowling
Error 15 'tbSeriesTextbox' is not a member of 'Bowling.frmBowling'.
C:\DOCS\Tafe\CertificateFourProgramming\CertFour\Programming\VisualBasic\Book\VisualBasicProgramming\ChapterFive\Example\Bowling\Bowling\frmBowling.vb
87 17 Bowling
Error 16 'tbHandicapTextBox' is not a member of 'Bowling.frmBowling'.
C:\DOCS\Tafe\CertificateFourProgramming\CertFour\Programming\VisualBasic\Book\VisualBasicProgramming\ChapterFive\Example\Bowling\Bowling\frmBowling.vb
88 17 Bowling
Error 17 'NameTextBox' is not a member of 'Bowling.frmBowling'.
C:\DOCS\Tafe\CertificateFourProgramming\CertFour\Programming\VisualBasic\Book\VisualBasicProgramming\ChapterFive\Example\Bowling\Bowling\frmBowling.vb
136 18 Bowling


----- Original Message ----- From: "Ricks Place" <OFBGMail@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Monday, September 29, 2008 12:00 AM
Subject: Re: VB.DOT NET Maths Question


Hi:
Read the below line one character at a time using your right cursor key. you
will see you do not have a space between the words Private and Function.
This is a basic carelessness error because you are listening to a line at a
time instead of a character or word at a time when debugging your editor
syntax statements.
PrivateFunction FindAverage(ByVal ScoreOneInteger As Integer, _
ByVal ScoreTwoInteger as integer, ByVal ScoreThreInteger as Integer) As
Decimal
...
The rest of the statement looks ok.
Rick USA

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind


__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind


__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: