C# compact framework: problem reading a text file
I'm having trouble reading a text file from my PDA. I can create the directory and write to it just fine; but when I try to read it, I get a file not found error. Here's my code:
string directory = "\\My Documents\\UploadAmmoCards\\AC001897799\\AC001897799.txt";
// Open file.
StreamReader fRead = new StreamReader(directory);
// Read file and store it in FileBuff array.
while (fRead.Peek() >= 0)
{
char newChar = (char) fRead.Read();
}
fRead.Close();
Thanks in advance for any and all help.
Daniel