Write a program that allows a user to enter information relating to the name and salary details of an employee The user should be able to enter the name of the employee and the gross salary of that employee by way of a pair of text boxes. When the user clicks on a “save details” button, the name of each employee, their gross salary and tax paid should be saved in a random access file called “employees.dat” Use a function procedure to calculate the tax paid by each employee. The amount of tax paid should be calculated by multiplying their gross salary by 20%. The information held in the random access file should be displayed to the user in a picturebox when the “show details” button is pressed.
Form Design
In Standard Code Module… General Declaration section of frmEmployees
Open/Create RA File in Form_Load
Enter + Save Info
Function to calculate Tax
Display contents of file to user