Re: Adding images to a screen and db.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: christophe (askmehere_at_internet.be)
Date: 03/26/04


Date: Fri, 26 Mar 2004 09:55:53 +0100

in addition to what Eric and Lee said :
If you don't really need to store the image in a db,
you could only store the path and the name to the image
in your db.
In this way using those images is easier and faster,
the image can also still be used outside your program.
and if the db gets corrupted you lose your images.
(althought this last is trivial, until now (at least 5
years),
I never had any corrupted db)

Of course like every solution, there are some drawbacks :
if you move,delete, alter the name of the original image,
you have to alter this in your db.
Also, each imagename must be unique (in the same directory).
If you want to backup the db, you have to copy the images
too.
...

--
              \|||/
           (o o)
----ooO-(_)-Ooo-------------
christophe
belgium
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°
º
"Phrank" <anonymous@discussions.microsoft.com> schreef in
bericht
news:F36C490D-3B8F-4D87-9040-B1B7DC21BA62@microsoft.com...
> Am working on a small project to store images. 1 db - 1
screen, etc. Created a table with imagedate, id, image.
>
> The image field in a general field. What I want to do
import a gif, jpeg, bmp or similiar image to the image field
and have it show the image when the user opens a screen or
goes to the next record while a screen is open`.
>
> As I tried it I can append general but all I get is an
icon when I open the screen if the image is a gif, jpeg. If
it is a bmp or ico it works fine.
>
> How do you get the gif and jpeg images to display like the
bmps?


Relevant Pages

  • Adding images to a screen and db.
    ... What I want to do import a gif, jpeg, bmp or similiar image to the image field and have it show the image when the user opens a screen or goes to the next record while a screen is open`. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: OT- Shopping in hard economic times just got harder
    ... figured walmart took it back from someone else and 'they' sealed it up ... the store and make sure it is what should be inside. ... My friend in China says everyone there *always* opens anything they're ... I'm opening EVERYTHING from here on out.. ...
    (alt.home.repair)
  • Re: OT- Shopping in hard economic times just got harder
    ... just figured walmart took it back from someone else and 'they' ... leave the store and make sure it is what should be inside. ... My friend in China says everyone there *always* opens anything ... I'm opening EVERYTHING from here on out.. ...
    (alt.home.repair)
  • Re: OT- Shopping in hard economic times just got harder
    ... I'm going to have the store open the box or I'm going to ... Musta been an inside job that someone had the tools to shrink-wrap the ... A customer at the store opens something to read the ... It's fair to reshrink it if that's all that happened, ...
    (alt.home.repair)
  • Re: Form "relations"
    ... 3/ Do I want to store anything else with this, user name, ... to contain the calling forms name just after the calling ... opens the new form. ... parent/child relationship, something like ...
    (microsoft.public.access.formscoding)