Re: Adding images to a screen and db.
From: christophe (askmehere_at_internet.be)
Date: 03/26/04
- Next message: Anders Altberg: "Re: Record is in used by another in VFP 6.0"
- Previous message: Eric den Doop: "Re: Grid Totals"
- In reply to: Phrank: "Adding images to a screen and db."
- Messages sorted by: [ date ] [ thread ]
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?
- Next message: Anders Altberg: "Re: Record is in used by another in VFP 6.0"
- Previous message: Eric den Doop: "Re: Grid Totals"
- In reply to: Phrank: "Adding images to a screen and db."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|