Discussion:
How can i get icon from IconCache.db?
(too old to reply)
tt
2007-06-29 07:09:25 UTC
Permalink
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
2007-06-29 08:30:54 UTC
Permalink
Post by tt
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
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
2007-07-03 05:14:56 UTC
Permalink
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?
----- Original Message -----
From: "Alex Blekhman" <***@oohay.moc>
Newsgroups: microsoft.public.vc.language
Sent: Friday, June 29, 2007 4:30 PM
Subject: Re: How can i get icon from IconCache.db?
Post by tt
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
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.
"THUMBS DB FILES"
http://www.accessdata.com/media/en_US/print/papers/wp.Thumbs_DB_Files.en_us.pdf
"ThumbDBLib"
http://www.petedavis.net/MySite/DynPageView.aspx?pageid=31
"Vinetto"
http://vinetto.sourceforge.net/
HTH
Alex
Post by tt
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
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.
"THUMBS DB FILES"
http://www.accessdata.com/media/en_US/print/papers/wp.Thumbs_DB_Files.en_us.pdf
"ThumbDBLib"
http://www.petedavis.net/MySite/DynPageView.aspx?pageid=31
"Vinetto"
http://vinetto.sourceforge.net/
HTH
Alex
Alex Blekhman
2007-07-03 09:17:29 UTC
Permalink
Post by tt
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

Continue reading on narkive:
Loading...