PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Richard Marchessault on February 07, 2013, 03:18:24 PM

Title: Path to MyDocuments folder
Post by: Richard Marchessault on February 07, 2013, 03:18:24 PM
What is the recommended method for determining the path to the current users "MyDocuments" folder?
Title: Re: Path to MyDocuments folder
Post by: José Roca on February 07, 2013, 03:31:03 PM
If you include AfxShell.inc, you can just call the AfxGetDocumentsFolder function.
Title: Re: Path to MyDocuments folder
Post by: Richard Marchessault on February 07, 2013, 03:42:37 PM
That works! Thanks.
Title: Re: Path to MyDocuments folder
Post by: Rudolf Furstauer on February 08, 2013, 01:48:12 AM
I would recommend anyone to study Jose's Help file 'WinApiHeaders.chm'.
They are real treasures inside!

Thanks for the fantastic work jose.
Title: Re: Path to MyDocuments folder
Post by: Richard Marchessault on February 08, 2013, 08:55:08 AM
Where can I find "WinApiHeaders.chm"?
Title: Re: Path to MyDocuments folder
Post by: Rolf Brandt on February 08, 2013, 11:16:44 AM
On Jose's forum:

http://www.jose.it-berater.org/smfforum/index.php?topic=4558.0 (http://www.jose.it-berater.org/smfforum/index.php?topic=4558.0)


Rolf
Title: Re: Path to MyDocuments folder
Post by: Rolf Brandt on February 08, 2013, 11:20:59 AM
...and here on this forum:

http://www.planetsquires.com/protect/forum/index.php?topic=3260.0 (http://www.planetsquires.com/protect/forum/index.php?topic=3260.0)

Rolf
Title: Re: Path to MyDocuments folder
Post by: Richard Marchessault on February 08, 2013, 11:39:07 AM
Thanks for the link!