471,326 Members | 2,079 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,326 software developers and data experts.

Getting description for special folders

I need to get the description (with the default language of the
operating system) for the special system folders like

Control Panel, My Computer and so on.

I have the CLSID of them and, for example, I launch the control panel
typing

::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}

in the run dialog.

Thank you.
Jan 21 '06 #1
1 1514
>I have the CLSID of them and, for example, I launch the control panel
typing

::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}

in the run dialog.


Then I think you need to use the IShellFolder interface and its
ParseDisplayName and GetDisplayNameOf methods.

http://www.pinvoke.net/default.aspx/...ellFolder.html
Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Jan 21 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Howard | last post: by
2 posts views Thread by Bob Hanson | last post: by
1 post views Thread by Jim Haynes | last post: by
12 posts views Thread by Quemasda | last post: by
12 posts views Thread by wheels619 | last post: by
1 post views Thread by Paul J. Lucas | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.