Location Streamwriter Pocket PC 2002

R

Roger

Hi,

I created a simple Smart Device Application for my PDA to create a file on my pocket p.c.

using System.IO;
StreamWriter stWr = new StreamWriter("test1.txt");

When I debug this solution with Pocket PC 2002 with Microsoft Visual Studio 2003, the file isn't created.
When I debug this file in a "normal" windows application the file is created in the "debug" folder.
Can anybody tell me where the file is placed with the Pocket PC 2002? I don't get an error. But I also can't access the file
All help is appriciated!
 
P

Paul G. Tobey [eMVP]

And where do you expect the file to be created in the filesystem? There's
no such thing as a "current directory" in Windows CE, so that file could be
*anywhere*. Specify the full path to any files you are using in Windows CE.

Paul T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top