Posted By: Scott Bryen | Apr 24th, 2006 @ 10:07 AM
page 1 of 1
Comments: 2 | Views: 1717
Is there a way in .net to get the my documents directory? I have an open file dialog for my app and on every computer it gets installed on to i want it to open in the users my documents directory. in J# i tried Directory.getCurrentDirectory(); but thats the directory of the application. I also tried looking on MSDN Help but couldnt find any thing. Any help would be great! Big Smile
Scott Bryen wrote:
Is there a way in .net to get the my documents directory? I have an open file dialog for my app and on every computer it gets installed on to i want it to open in the users my documents directory. in J# i tried Directory.getCurrentDirectory(); but thats the directory of the application. I also tried looking on MSDN Help but couldnt find any thing. Any help would be great! Big Smile


Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);

page 1 of 1
Comments: 2 | Views: 1717
Microsoft Communities