PDA

View Full Version : help with BASIC (lol)



Johnny2x4
7th July 2010, 04:38 PM
SO I was doing an assignment for a a class that has me use a while loop to first get and then display marking period grades and averages for a school or whatever and this is what I came up with:

4458

Now I'm new at this and I intend on making a smaller, more efficient code to hand in but I was wondering why this wouldn't work. When the program started in threw a InvalidOperationException and NullReference Exception. Now I have a hunch that it was "Dim ohF As Integer = Me.Height" and the other one but I wanted to be sure. And also how I could get around it

Also I was using Visual Studio 2005 as that's what I have to use for this class

Johnny2x4
12th July 2010, 05:58 PM
you know what? every one of you are bitches