Re: How can i get icon from IconCache.db?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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" <xfkt@xxxxxxxxx>
Newsgroups: microsoft.public.vc.language
Sent: Friday, June 29, 2007 4:30 PM
Subject: Re: How can i get icon from IconCache.db?


"tt" wrote:
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

"Alex Blekhman" <xfkt@xxxxxxxxx>
??????:exwIQfiuHHA.4512@xxxxxxxxxxxxxxxxxxxxxxx
"tt" wrote:
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



.



Relevant Pages

  • Re: silent semantic changes with reiser4
    ... Hence why I was suggesting the idea of disposable data in streams. ... > internal format, how to generate the index, and how to use it. ... By using lots of libraries, you end up using lots of memory to ... icon for the file to pull the appropriate icon from somewhere else (and ...
    (Linux-Kernel)
  • Re: Saving a Word 2001 doc in Word 2004
    ... format since I wouldnąt have known to do otherwise (I was definitely a Word ... Document and an RTF within the same file so that the file can be read as ... Your second icon was apparently created ... >> from your old computer running OS 9 to your new one running Panther. ...
    (microsoft.public.mac.office.word)
  • Re: Changing icon for e.g. Excel
    ... The extension of a file describes its format. ... I'd like to replace the icon for e.g. Excel with one I've downloaded. ... selected the option 'change icon'. ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: icon pictures
    ... I am assigning a icon to a short cut. ... file within the folder. ... If you format and erase the folder, ... If it does and the folder is not showing your custom icon, ...
    (microsoft.public.windowsxp.general)
  • Re: Insert page number
    ... You have to use Format Page Number to "Start at 1" in Section 2. ... Insert that break at the point where unnumbered pages end and numbering ... Then click in the footer area (or go to View - Header and ... Then you can use the "Insert Page Number" icon to insert your page number. ...
    (microsoft.public.word.docmanagement)