QUOTE(PsychoCoder @ 20 Sep, 2007 - 06:10 PM)

Question 1:
If this line is your sales tax
tax = 1.18 then no you didnt do it right. A 5% sales tax would look like
tax = 0.05.
Question 2:
You're getting this error because its trying to perform math on empty strings, that aint going to work. You need to check and make sure all 3 textboxes have a value, and that they're numeric before calculating anything.
Example:
CODE
If Not b3.Text = "" And IsNumeric(b3.Text) Then
'Do your processing here
Else
'Display an error here
End if
That example accounts for a single textbox, you have 2 more to go.
Hope this helps

hey man
thanks for the help
when i put "tax = 0.05" and the output came out weird but when i put "b3 * 0.05" and it came out what i wanted and what was in the book. so yea thanks for the help
2nd: about the error, my prof. told me we weren't up to that part, so LOL