Groups | Blog | Home
all groups > dotnet compact framework > august 2006 >

dotnet compact framework : Location Streamwriter Pocket PC 2002


Roger
8/27/2006 11:55:35 PM
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
Paul G. Tobey [eMVP]
8/28/2006 8:37:11 AM
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.

[quoted text, click to view]

AddThis Social Bookmark Button