btnCalculate Code. HELP!!!!!!!!!!!!!!!!!!!!!!!!!RESOLVED
I'm working on a project in class. I've done most everything else, but now i'm stuck on coding the btnCalculate_Click. I've got to now:
a) Convert (Length) field value from text to double (numeric)
b) Call a function I created named 'IsPositiveDouble'
if ok - go on
if not, messagebox
c) Do the same for Width and Height field values
d) Call a function I created called Volume (length*width*height)
return Double
e) Convert Volume to text
f) Display volume, formatted
This is my first programming class, and it's kicking my #^@^*&%*&%!!
Please help!!!!
I'm working on a project in class. I've done most everything else, but now i'm stuck on coding the btnCalculate_Click. I've got to now:
a) Convert (Length) field value from text to double (numeric)
b) Call a function I created named 'IsPositiveDouble'
if ok - go on
if not, messagebox
c) Do the same for Width and Height field values
d) Call a function I created called Volume (length*width*height)
return Double
e) Convert Volume to text
f) Display volume, formatted
This is my first programming class, and it's kicking my #^@^*&%*&%!!
Please help!!!!
Last edited: