Thanks.. I just realised I was having a case of severe stupidity.

 

I've been coding my laptop, yet running it on an emulator, so therefore the
XML config file had to be found on the emulator, not on my laptop.

 

Whoops :P

 

 

Simon Kuldin | Senior Technical Consultant | PRISM 

Suite 3, 214 Bay St Brighton, VIC 3186, Australia

P: +61 3 9596 8633 M: 0408 310 957 W: www.prism-solutions.com.au
<http://www.prism-solutions.com.au/> 

 

prism-v5.jpg 

People.  Responsive.  Innovative.  Simple.  Methodical.

 

From: [email protected] [mailto:[email protected]]
On Behalf Of Ian Thomas
Sent: Wednesday, 8 June 2011 4:02 PM
To: 'ozDotNet'
Subject: RE: finding a directory

 

For Vista/Win7:  C:\Users<username>\AppData

 

Try this for your Windows CE - 

Console.WriteLine("GetFolderPath: {0}",
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData))

  _____  

Ian Thomas
Victoria Park, Western Australia

  _____  

From: [email protected] [mailto:[email protected]]
On Behalf Of Simon Kuldin
Sent: Wednesday, June 08, 2011 1:50 PM
To: [email protected]
Subject: finding a directory

 

Hey there ppl,

 

I'm using an XML file to save some UserSettings in my Windows CE C# project,
and when I save a file in the following path
(Environment.SpecialFolder.ApplicationData) it appears to be working fine.
The problem is I can't for the life of me find the file when I refer to it
in Windows Explorer.  I've done a full PC search but I can't find the dang
file.  When I use the debugger, the value for that folder is \\Application
Data <file:///\\Application%20Data>  which is not useful as it does not take
me directly to the file.

 

The reason I'm trying to find the file, is so that I can edit the file and
see what affect it has but I am having no luck at all at the moment.

 

Can anyone shed some light for me?

 

 

Simon Kuldin | Senior Technical Consultant | PRISM 

<<image001.jpg>>

Reply via email to