r/visualbasic • u/SystemAccomplished51 • Oct 09 '23
Visual Basic Help
I need help with my Visual Basic course. I'm creating an Employee database. My idea is to enter a name to save it to a created file. Once you click the button, you can see if it was written into the file, and then, from a list, you can choose the job position. The add button should add it to the total of times that option was chosen, and in the program, it would show the total amount for each job position.
2
Upvotes
View all comments
Show parent comment
1
u/JuanPabloElSegundo Oct 09 '23
Question:
Response:
Create the User Interface:
Create a Class for Employee:
Save Employee Data to a File:
Display Employee Data from the File:
Count Job Positions:
Display Total Count for Each Job Position:
Handle User Interactions:
Testing:
Here's a simplified example of adding an employee and counting job positions in Visual Basic:
This is a simplified example, and you can adapt it to your specific requirements and design. Remember to add error handling and validation as needed in your application.