Hi all
I saw this once, but cant find it.
How do you locate the Desktop folder from your program.
I need to create a TXT file to the Desktop to upload numbers to an SMS tool.
May be something stupidly simple i am overlooking again. :-[
You can #include "AfxShell.inc" and call the function AfxGetDesktopFolder.
Thanks Jose!!
So Simple. Thanks for your work Josè!!
Jose,
Just curiosity, what "Afx" prefix you use for so many of your includes stands for?
Quote from: Jose Roca on February 26, 2017, 11:30:15 AM
You can #include "AfxShell.inc" and call the function AfxGetDesktopFolder.
Best regards.
Fran
Hi Francisco,
My vote goes to "Application Framework Extensions". :-)
Pierre
Yes, Pierre is right. Borrowed from Microsoft C++.
"Application Framework eXtensions", to be exact.
Pierre, Jose,
Thanks a lot.
I don't like to memorize acronyms without knowing its meaning.
Best regards.
Fran