OK, so i'm trying to write some code to save a file in my default documents library in windows 7... This is not C:\Users\username\Docuements as is default... I have added another folder in my root D:\ to handle documents.
Normally when I save a file using word or any other program, it will save it to the correct location (D:\Documents), however the code I am using
Environment.GetFolderPath(Environment.SpecialFolder.Personal) is always returning C:\Users\username\Documents.. and I don't want my files to be saved there. Does anybody know how to get it to save to the D drive folder? I ask this because I want this program to be portable on other systems (including non windows 7) so it will go to their my documents as required.