Jenny30
asked on
VBasic 6.0 help
ok i only have 90 pts left so what i need now is how to get my tax and total price to print in my picture box
btw...my State code will be going in the txtState textbox
here is what i have
Private Function tax() As Single
Dim sTax As Single
If txtState <> "MS" Then
sTax = 0
Else
If txtState = MS Then
sTax = Price * 0.07
End If
End If
tax = sTax
btw...my State code will be going in the txtState textbox
here is what i have
Private Function tax() As Single
Dim sTax As Single
If txtState <> "MS" Then
sTax = 0
Else
If txtState = MS Then
sTax = Price * 0.07
End If
End If
tax = sTax
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
i'm sure thats what it should read
ASKER
thank you...it works now...everyone has been so helpful to me...i intend to take VBasic as far as i can b/c i want to know it like an expert...this is my first programming language that i have taking at school...it is a requirement in the LAN Networking curriculum...we went over If,then,else and Case statements;Data files;the fartherest we got were Loops, but i intend to do a little studying on my own...i believe the language is really interesting and intend to take it farther than what i have learned...Thank you all for your help...
btw, even if i help you solve this, give these points to AZWolf