Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create the following application in Visual Basic Step 1 : Your interface should have a place to take in a person's name, height and weight.
Create the following application in Visual Basic
Step : Your interface should have a place to take in a person's name, height and weight. Have four buttons at the bottom: Submit, Save to File, Read File and Clear File
Step : Create a structure for type person
Step : Make an array of persons assume at most entries can be in the array
Step : Code the submit button so that each time it is clicked the information in the textboxes is stored in the next person array slot. Make sure to clear the textboxes.
Step : Code the Save to File button so that it loops through the array and saves the person entries to a file.
Step : Code the Read File button so that it reads back the file to the program and displays the info in a label.
Step : Code the Clear File button so that it empties the file out. Note, if a user clicks the Write to File button before the Clear File button the program will be adding on to whatever is there already.
Step : To credit for the lab turn in print screens of the code, the interface, text file and some sample runs
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started