Practice Exercise 11
File Processing

Objective: To become familiar with file processing.

Create a VB program to read from a text file an unknown number of golfer names and golf scores from a file called golfer.txt.

The data is entered in the file with the name and the score on the same line separated by a comma.

These names and scores should be read and then echoes in a list box and the number of golfers and average of all scores computed and displayed in labels (or textboxes) with appropriate labels.

The text file is available
here.  Right click the link and do Save Link As... or Save Target As...

Sample screen

Demo/sln file Note that the demo show both stream I/O as well as traditional file I/O.