Lab 13 - Arrays

Structure Chart
Printable Structure Chart
Video discussing lab 13 (12:25 min)
Possible Plan of Attack

Grader

For this project you will modify Lab 12 to read the entire contents of the Friend file into memory when the program loads.

The Form Load Event

    Hints:

If IO.File.Exists(strFileName) Then......

Add Friend

      Save the information provided via textboxes in the next available elements of the parallel arrays.

    Hints:

Save Friends

Copy the friend data to permanent storage as a comma delimited text file.

      Hints:

An example of the resulting file.

image of comma delimited friend file

 

Note: consecutive commas indicate field values not provided by the user.

Display All

Work through the parallel arrays displaying the information for all the friends on the form, one friend per line.

      Hints:

Form FormClosed Event

If the file has not been saved since the last change ask the user if they want to save  the changes.

If the user wishes to save the changes call the Save procedure.

     Hints: