Board index » Visual Studio » Thumbs.db file !!

Thumbs.db file !!

Visual Studio40
I am developing a project in VB / Win XP.



I have my own explorer style library view in



application. On click of each file it is supposed to show its preview like



outlook shows preview when particular mail is clicked: Some file will have



jepg image as preview. some will have meaningful text and some may have



both.



At preseng we are creating jpeg image of it at save time and storing file



path into database and displaying preview. But this is not succesful in



following situations:



1. if file is transferred from one location to other by mail



2. if there is same file in two different folders for same user



We have used XML tags to create our file and with parser we are we are



working with it.



Can you suggest solution that how this preview problem can be resolved?



is there a way that will convert jepg image or meaningful text into XML and



attach it with original file and transfer it to other location.



I found out from these newsgroups that Win XP creates a thumbnail preview

images' file

calles thumbs.db



But I cannot figure out how to use this file. Is there a way to use this for

my requirements?


-
 

Re:Thumbs.db file !!

force a looped file check/refresh of each image at transfer time to ensure

thumbnail creation patentcy. dont expect VB and the system to cater to all

your expectations! ;-))



perhaps use a supplemental tag file that maintains a history/version of each

image parameters within each directory (like thumbs.db?)



thumbs.db is only maintained when win system / explorer actually is used to

display that directories fileset, it may not update with the added image

files just because you plug some more into that directory, so it may be of

limited value for your application.



thumbs.db actually contains the reduced images (as BMP fragments) that are

derived from the fullsize images in the directory, you may be able to

locate the format for this within the MS knowledgbase, do a search.



or you may be able to figure it out by testing with a single file in a

single directory asnd picking the thumbs.db file to pieces.



--



Best regards,

Hapticz



STOP STOP STOP STOP STOP STOP STOP STOP STOP

<>><<>><<><>><<><>><<>><<><>><<>><<>><<>><<>><<>



"Shelly" <not@noreply.com>wrote in message

Quote
I am developing a project in VB / Win XP.



I have my own explorer style library view in



application. On click of each file it is supposed to show its preview like



outlook shows preview when particular mail is clicked: Some file will have



jepg image as preview. some will have meaningful text and some may have



both.



At preseng we are creating jpeg image of it at save time and storing file



path into database and displaying preview. But this is not succesful in



following situations:



1. if file is transferred from one location to other by mail



2. if there is same file in two different folders for same user



We have used XML tags to create our file and with parser we are we are



working with it.



Can you suggest solution that how this preview problem can be resolved?



is there a way that will convert jepg image or meaningful text into XML

and



attach it with original file and transfer it to other location.



I found out from these newsgroups that Win XP creates a thumbnail preview

images' file

calles thumbs.db



But I cannot figure out how to use this file. Is there a way to use this

for

my requirements?









-