Path to My Documents?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi! How can I get a culture sensitive path to "My Documents"?

Thanks in advance,
Nille
 
This is done by calling SHGetSpecialFolderPath. In CF application you can
use Environment.SpecialFolder from OpenNETCF SDF
 
Hi! Thanks for responding!
However, I can only use .NET cf using C#. Anyway doing it this way?

Nille
 
SDF is offered as a source code in C#. Get the required bits from it.
 
By the way...

How can I obtain the path of a Storage Card (CF) in C#?

Thanks a lot
Thorsten
 
Storage cards are root level folders with the Temporary attribute applied.
The only problem is so are ROM storage areas on the device e.g. iPaq File
Store etc so there isn't a way to determine the difference if your device
has multiple storage areas/cards.
You can use OpenNETCF.IO.StorageCard.GetStorageCards in the SDF
(www.opennetcf.org/sdf/) or follow Alex's code sample here:-
http://www.opennetcf.org/forums/topic.asp?TOPIC_ID=432

Peter
 

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

Similar Threads

On/off 1
Icons 3
Main not called 4
Best Tool to Repair Corrupted PDF Files 0
Instance ID? 9
Measuring Time 5
Environment.SpecialFolder 2
Need to see the path in Word 2010 5

Back
Top