D Dennis C. Drumm Mar 14, 2007 #1 How do I programmatically get the path for the windows shared documents folder which is also the all user's document folder. Thanks, Dennis
How do I programmatically get the path for the windows shared documents folder which is also the all user's document folder. Thanks, Dennis
V VJ Mar 14, 2007 #2 Environment.GetFolderPath(Environment.SpecialFolder.<OneoftheOptions>) Is it not avaiable in the option?... VJ
Environment.GetFolderPath(Environment.SpecialFolder.<OneoftheOptions>) Is it not avaiable in the option?... VJ
D Dennis C. Drumm Mar 14, 2007 #3 That is where i started, but there is not a SecialFolder for the all-user's documents folder. Any other suggestions??? Dennis
That is where i started, but there is not a SecialFolder for the all-user's documents folder. Any other suggestions??? Dennis
V VJ Mar 14, 2007 #4 Then the way to go is native API. I am not sure of the exact command, but the below site may help. http://www.pinvoke.net/ There is one more Environment.GetEnvironmentVariable("") <-- but I doubt it might be there... VJ
Then the way to go is native API. I am not sure of the exact command, but the below site may help. http://www.pinvoke.net/ There is one more Environment.GetEnvironmentVariable("") <-- but I doubt it might be there... VJ
D Dennis C. Drumm Mar 15, 2007 #5 Thanks, As you suspected, I couldn't find the proper string for using GetEnvironmentVariable, so i had to use a pinvoke command. Dennis
Thanks, As you suspected, I couldn't find the proper string for using GetEnvironmentVariable, so i had to use a pinvoke command. Dennis