I have to develop application for mobile device, using Visual Studio 2008. Application have to read files and write to them.
Problem I have that I don't know where are files when I run application on mobile device or even on device emulator in VS. If I run application on PC, everything works well.
Can you give me some point what to do and where to look at?
Thank you in advance!
I didn't mention, it's for Windows Mobile 6.5
P.S. tried to work with StringBuilder like:
StringBuilder sb = new StringBuilder();
using (StreamReader sr = new StreamReader("TestFile.txt"))
{
String line;
// Read and display lines from the file until the end of
// the file is reached.
while ((line = sr.ReadLine()) != null)
{
sb.AppendLine(line);
}
}
string allines = sb.ToString();