Hi Randy,
>The problem occurs when dimming the filestream object.
I assume you're importing the System.IO namepsace. Remember that the FileStream object requires parameters when it is created. Something like:
Dim fs As New FileStream("myfile.txt",FileMode.Open)
HTH,
Viv