F Franky Dec 26, 2006 #1 I know about GetModuleFileName but what I need is a similar call to get the folder "My Documents" Is there such a thing? Thanks
I know about GetModuleFileName but what I need is a similar call to get the folder "My Documents" Is there such a thing? Thanks
W William DePalo [MVP VC++] Dec 26, 2006 #2 Franky said: I know about GetModuleFileName but what I need is a similar l to get the folder "My Documents" Is there such a thing? Click to expand... Yes, check the docs for ShGetFolderPath() passing it the CSIDL_PERSONAL flag. Regards, Will
Franky said: I know about GetModuleFileName but what I need is a similar l to get the folder "My Documents" Is there such a thing? Click to expand... Yes, check the docs for ShGetFolderPath() passing it the CSIDL_PERSONAL flag. Regards, Will
G Guest Dec 26, 2006 #3 Or, if you're using the .NET framework, call System::Environment::GetFolderPath(System::Environment::SpecialFolder::MyDocuments) Mick
Or, if you're using the .NET framework, call System::Environment::GetFolderPath(System::Environment::SpecialFolder::MyDocuments) Mick
F Franky Dec 27, 2006 #4 I should have been explicit. I forget that C++ can be managed. My app is not. Thanks
F Franky Dec 27, 2006 #5 thanks, I'll look it up. William DePalo said: Yes, check the docs for ShGetFolderPath() passing it the CSIDL_PERSONAL flag. Regards, Will Click to expand...
thanks, I'll look it up. William DePalo said: Yes, check the docs for ShGetFolderPath() passing it the CSIDL_PERSONAL flag. Regards, Will Click to expand...