In our application we extract some document from a database (.xls, .doc, .vsd, .pdf, ...) to allow reading it. Thoose document are generaly created read only and after that, they are opened (ShellExecute) with: System.Diagnostics.Process.Start("@C:\Documents and Settings\MyUser\Local Settings\Application Data\TmpGeneratedFiles\file.xls");
Our problem is that if you click "save or save as" the proposed directory is the folder of the opened file(usually hidden from the user)
Is there a way to change this default folder to Envireonnement.SpecialFolders.Personal?
We tryed the "WorkingDirectory" of ProcessStartInfo and it doesn't work because IsShellExecute = true. If not? Any other best practice?