Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How can i get icon from IconCache.db?

1,387 views
Skip to first unread message

tt

unread,
Jun 29, 2007, 3:09:25 AM6/29/07
to
The file IconCache.db is located in "C:\Documents and
Settings\'username'\Local Settings\Application Data", it is a windows icon
cache. How can i get icon and file name from it

Alex Blekhman

unread,
Jun 29, 2007, 4:30:54 AM6/29/07
to

You need to reverse engineer it. Thumbs DB format is not
documented by MS. However, there are several tools and
libraries, which enable you to extract info from .DB files.

Here's brief description of .DB files:

"THUMBS DB FILES"
http://www.accessdata.com/media/en_US/print/papers/wp.Thumbs_DB_Files.en_us.pdf

Here's C# library (with source code) for reading .DB files:

"ThumbDBLib"
http://www.petedavis.net/MySite/DynPageView.aspx?pageid=31

Another open source tool for .DB files:

"Vinetto"
http://vinetto.sourceforge.net/


HTH
Alex

tt

unread,
Jul 3, 2007, 1:14:56 AM7/3/07
to
Thanks a lot.
I have a question that the format of IconCache.db is different to
thumbs.db.
All the example can't open IconCache.db ,it meet a error.How can i?

"Alex Blekhman" <xf...@oohay.moc>
??????:exwIQfiu...@TK2MSFTNGP04.phx.gbl...

Alex Blekhman

unread,
Jul 3, 2007, 5:17:29 AM7/3/07
to
tt wrote:
> Thanks a lot.
> I have a question that the format of IconCache.db is different to
> thumbs.db.
> All the example can't open IconCache.db ,it meet a error.How can i?

Yes, it seems that IconCache.db is different from Thumbs.db
files. However, you can always extract an icon directly from
any file, which contains icons (DLL, EXE, ...).

Alex

0 new messages