need help with this, I am to wright the code for this calculator. I am new to VB and not sure how to do this, up till now the code was given to me. I am lost as how to make this work. any help would be great.
¾ Required:
¾ Hot key/Short cut keys on buttons
¾ Right-justify all numbers
¾ Declare the constants as class level constants – for County and State tax rates
¾ Format Sales with 2 decimal places
¾ Format all tax answers with dollars/cents
¾ Form Load event –
a. Load 0’s in the sales textboxes and the tax labels answers, set focus
¾ Clear event –
a. Load 0’s in the sales textboxes and the tax labels answers, set focus
¾ In the Calculate Click event
a. Use try/catch logic to catch garbage data being entered
i. If bad data – display a MessageBox, 0’out all tax labels, set focus back to the sales amount
ii. If data is ok –
1. Calculate the county taxes
2. Calculate the state taxes
3. Calculate the total sales taxes
4. Display all calculated amounts with dollars/cents
Thanks
¾ Required:
¾ Hot key/Short cut keys on buttons
¾ Right-justify all numbers
¾ Declare the constants as class level constants – for County and State tax rates
¾ Format Sales with 2 decimal places
¾ Format all tax answers with dollars/cents
¾ Form Load event –
a. Load 0’s in the sales textboxes and the tax labels answers, set focus
¾ Clear event –
a. Load 0’s in the sales textboxes and the tax labels answers, set focus
¾ In the Calculate Click event
a. Use try/catch logic to catch garbage data being entered
i. If bad data – display a MessageBox, 0’out all tax labels, set focus back to the sales amount
ii. If data is ok –
1. Calculate the county taxes
2. Calculate the state taxes
3. Calculate the total sales taxes
4. Display all calculated amounts with dollars/cents
Thanks