[ACCEPTED]-Location of My Pictures-windows-xp

Accepted answer
Score: 51

The following will return a full-path to 3 the location of the users picture folder 2 (Username\My Documents\My Pictures on XP, Username\Pictures 1 on Vista)

Environment.GetFolderPath(Environment.SpecialFolder.MyPictures);
Score: 5

Environment.GetFolderPath(Environment.SpecialFolder.MyPictures);

0

Score: 0

Using Microsoft.VisualBasic.FileIO.SpecialDirectories.MyPictures 1 you can get that, works in vista and XP.

More Related questions