Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
