locked
Problem with Windows 7 Libraries RRS feed

  • Question

  • Hello,

    I have installed Windows 7 RTM on a computer and I have changed the My documents libraries (to the D:\Documents\ so in case of a crash with Windows, I don't lose my documenys if I need to reformat the c:. The default save location is (of course) put in the d:\Documents\ folder

    Now, in .NET 2008, I want to see the path w<here my Documents is saved. So I do a
    My.Computer.FileSystem.SpecialDirectories.MyDocuments and I expect it is be in d:\Documents\
    But is is still in c:\Users\UserName\Documents
    What can I do?
    If my customers says taht the Documents folder is in d:\...., he expects my program to save all the files in this directory.
    Did I expect too much of the libraries? Is there a possibility to have the correct path in .NET?

    Thank you
    Marc 
    • Moved by Carey FrischMVP Tuesday, August 25, 2009 3:11 PM Moved to proper category (From:Windows 7 Miscellaneous)
    Tuesday, August 25, 2009 7:29 AM

Answers

All replies

  • Hi Marc,

    For any question related to programming, please post it to MSDN forum. 
     

    For your convenience:

     

    Windows 7 Developer Guide

     

    Thanks.

     

    • Marked as answer by Robinson Zhang Thursday, August 27, 2009 9:42 AM
    Thursday, August 27, 2009 5:45 AM
  • Hello,

    I have posted my question to the msdn forum.

    Thank you
    Marc
    Thursday, August 27, 2009 7:38 AM