My Documents Folder

  • Thread starter Thread starter Drew
  • Start date Start date
D

Drew

I am planning on putting a user configurable file in \My Documents\Personal
on the Pocket PC. I envision that the user would transfer the file to their
desktop, edit it, and return it to the Pocket PC.

Is this folder guaranteed to be there on every Pocket PC?

Would there be a better place to store this file?

Regards,

Drew
 
The name of the folder may vary depending on the language of the device,
however all Pocket PC's have a My Documents or equivalent. You can P/Invoke
SHGetSpecialFolderPath to determine the correct version at runtime:-
http://www.opennetcf.org/forums/topic.asp?TOPIC_ID=95

On devices prior to Pocket PC 2003 this function returns null for the
personal folder.

Peter
 
In Java, you can use the System property "user.home".

Is there anything equivalent in C# and the .NET CF?

Drew
 
Back
Top