A FileInfo is just information about a file (size, date created, etc).
In order to read the contents of the file, you'll need to use one of the Stream objects, followed by one of the Reader objects.
FileStream -- supports random access to a file.
BinaryReader -- Read binary information from a stream.
TextReader -- Read strings from a stream.
If you have the MSDN documentation installed on your machine, paste this link into the navigation textbox:
ms-help://MS.VSCC.2003/MS.MSDNQTR.2005JAN.1033/cpguide/html/cpconBasicFileIO.htm
Chip H.
____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first