🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14834

Re: Localized name for My Documents

#14834
From: Dmitry Mikhilov
Date: Thu, 31 Jul 2003 16:08
24 lines
2045 bytes
At least in Win2k it is also there. 99.999% that in XP as well.

Dmitry

HKEY_CLASSES_ROOT\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}
"Martin Nijhoff" <m.NOSPAMnijhoff@tba-tenNOSPAM.nl> �������/�������� �
�������� ���������: news:3f291bf5@newsgroups.borland.com...
> How can I get the localized name of the My Documents folder?
>
> I use SHGetSpecialFolderLocation() to get the PIDL to the folder. With
> IShellFolder::GetDisplayNameOf() I can only get the file path to the
folder
> (which is D:\Docs in my case), but not the name that is used to display My
> Documents (or Mijn Documenten in dutch, Eigene Dateien in german, etc.) in
> for example Start | Recent Docs.
>
> I was able to find the localized name in the Registry:
> HKEY_CLASSES_ROOT\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}
> but this only works with Windows 98 I think...
>
> Is there another way to get the localized name for My Documents?
>
>
>
Technical Details
Message-ID: <3f293ea8@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f291bf5@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10cc67,a8f8c57e6feba365
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-31 09:10:53 PST
From: "Dmitry Mikhilov" <dm1@fromru.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f291bf5@newsgroups.borland.com>
Subject: Re: Localized name for My Documents
Date: Thu, 31 Jul 2003 20:08:46 +0400
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 195.242.19.216
Message-ID: <3f293ea8@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1059667624 195.242.19.216 (31 Jul 2003 09:07:04 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail