13 Maret 2012 10:43By using the method "KnownFolders::DocumentsLibrary" I can access [my documents] path like "C:\Users\win8_user\Documents" and write the certain file in it.
But now I want to access the [public documents] path like "C:\Users\Public\Documents" then write a .xml file in it in order to provide a path for the other metro applications to access the file (which was not on a user level but open to the public).
- Diedit oleh Yongwei Yao 14 Maret 2012 8:08
13 Maret 2012 21:12Moderator
There is no separate Public Documents Library. There is just a Documents Library which contains a merged view of the user's private documents and the public documents.
If you look at the properties on the Documents library in Explorer you will see a list of the folders contained in the library.
The same applies to Music, Videos, and Pictures.
14 Maret 2012 5:07
Unless the user has changed the default save location for the documents library to the public folder this is not possible.
Generally the system does not want metro style apps to create private communication mechanisms with eachother. Instead the system provided contracts (shared, launch, file picking, contact picking) should be used.
- Ditandai sebagai Jawaban oleh Bob_BaoMVP, Moderator 10 April 2012 3:45