Read each line of a text file in an array

Visual Studio148
Help



I have a text file which has file locations within it



e.g

C:\Windows\Installer\12314.msi

C:\Windows\Installer\12224.msi

C:\Windows\Installer\13434.msi



I would like to read this text file a line at a time and do something with

each line. I have a function to do what I want, however I do not know how to

read the line act upon it and then get the next line and act upon it.



Can anyone help?



Thanks


-