randycena 0 Newbie Poster

thank you but I have this error now:
'EndOfStream' is not a member of 'System.IO.StreamReader'.
I got this error even though I imported the System.IO.StreamReader
sorry..Thank You for your time and effort