I’m using .NET 2.0. I noticed that there doesn’t seem to be a Environment.SpecialFolder member for the common Desktop and common Start Menu folders.
i would prefer a way that doesn’t involve loading shell32.dll and using SHGetSpecialFolderPath
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I use P/Invoke… 0x19 corresponds to the Common Desktop enumeration, 0x16 corresponds to the Common Start Menu