>Cetin:
>
>I set paintbrush as the default viewer, created an BMP image on the machine that it's installed on, and still the same. This is going to be a big problem for me because some of my customers have 1000's of images in a table and making them separate files is really not an option. Do you know what brought this on?
>
>Luke
Lucien,
You don't need to make them separate files on disk, but at runtime they would be. If say those were icon files which are generally 737 bytes than 1000 would be roughly a single 737K file. At runtime you could extract subpart of that file on to disk and use (or create an exe/dll and use).
However thinking they are dynamic files and should be saved per say person (ie: pictures) then still what you need is memo (binary). I have a class that handles it and here is how it works roughly (and when I have time I'll try to post class' code itself):
-To view it writes memo content out to disk in temp folder and sets image's picture property.
-When record changes it deletes the file in temp folder (and writes current one)
-For a new file it shows setting the image property again and saves copying to memo.
Basically there is a write and read operation vs a single read if it were on the disk already but it's fast for my needs and works transparently as long as the image files are not huge (I prefer gif and jpg).
Cetin