Sunday, March 16, 2008
 #
 
Well, I've had loads of fun with Lab 3.  This is the programming I remember.  Writing something that really looks like it makes sense, but it doesn't make sense.

It seems that I have to declare isNonNegativeInteger twice - once in the Class library and once in the main program.  That doesn't seem right, but if I don't, I get an error that it wasn't declared in one or the other.  I think my problem now has something to do with that.  I have this endless loop with the first question popping up (I put that into a Do loop that goes out to my class library thingy that figures out whether it's a nonneg int. and then comes back and loops as long as nonneg. is false.  also tried looping until nonneg is true.  Either way, and no matter what value I enter, I get the first question again and again and the MessageBox doesn't pop up(another Grrrr as I can't use MessageBox.Show("xx") for some reason - says name not declared or something).

Anyway, so here's me staring at code I know must be right and rearranging it in different ways that I think are also right and I can't fix it.  Hum.  That's why I decided I would never be a programmer...

In other news, it seems Pascal's ear infection never quite went away and he's not feeling well again.  I can't wait for spring as I hope it will make him ill less often.  I can't wait for my happy vibrant boy to be happy and vibrant more often...and in less pain.


3/16/2008 8:14:47 PM (Central Standard Time, UTC-06:00)
3/19/2008 12:35:37 PM (Central Standard Time, UTC-06:00)
Good afternoon,

Yes, you have to declare isNonNegativeInteger twice as you said in order to work. And about the MessageBox you have to add the system.windows.forms reference in the second project (the new class project) in the .Net tab , then before the class just put Imports System.Windows.Forms , then it will work.

Best regards,
5/28/2008 7:27:42 AM (Central Standard Time, UTC-06:00)
Does anybody know how well payed is a NASA employee? I don't deny the fact that they had to work hard for their job but at this rate of progress in technology and funding it was about time they fixed the small problems.
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Search
Navigation
On this page....
Archives
<November 2008>
SunMonTueWedThuFriSat
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456
Aggregate Me!
RSS 2.0 | Atom 1.0 | CDF
Categories
Blogroll
Contact me
Send mail to the author(s) E-mail
Themes
Pick a theme:
Administration