From within a C# windows application, how can I get a reference (full path)
to the current user's "My Pictures" or "My Documents" folder ?

Please include any namespace references I'll need.

Thanks.

Re: Reference to "My Pictures" folder by JezB

JezB
Wed Jul 13 05:10:22 CDT 2005

Forget it : the old post and solve method worked again : found it myself:

Environment.SpecialFolder.MyPictures



"JezB" <jezbroadsword@blueyonder.co.uk> wrote in message
news:uwrVyI5hFHA.1372@TK2MSFTNGP10.phx.gbl...
> From within a C# windows application, how can I get a reference (full
> path) to the current user's "My Pictures" or "My Documents" folder ?
>
> Please include any namespace references I'll need.
>
> Thanks.
>



Re: Reference to "My Pictures" folder by Herfried

Herfried
Wed Jul 13 05:10:41 CDT 2005

"JezB" <jezbroadsword@blueyonder.co.uk> schrieb:
> From within a C# windows application, how can I get a reference (full
> path) to the current user's "My Pictures" or "My Documents" folder ?

Take a look at 'Environment.GetFolderPath'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>