DBImage?

DBImage?

Post by Nura » Sun, 31 Dec 1899 09:00:00



I am linking a DBImage component to a Microsoft Access Tabel. The field type
is "OLE Object". In Access, I insert a "bitmap image" object in the field
that is referenced by the DBImage component in Delphi. But DBImage does not
accept this as a valid entry. What is wrong?

Is there anyway that I can embed bitmaps into Access, and view them in
delphi?

 
 
 

1. DBImage can't display JPEG

Hello, everyone !!

I try to display JPEG format pictrue with TDBImage from TBlobField,
then Error Raises (Bitmap image is not valid) !!
I try to do this with coding, but get failure again!!

the failure coding as bellow :

A. with TMomoryStream >>

var msA: TMemoryStream
msA := TMemoryStream.Create;
TBlobField.SaveToStream(msA);  <--- EAccessViolation
Image1.Pictrue.Graphic.LoadFromStream(msA);

B. with Clipboard >>

Clipboard.Assign(DBImage1.Picture);  <-- Invalid clipboard format
Image1.Pictrue.Assign(Clipboard);

Can you tell me how to display then JPEG Field with TDBImage or TImage ?
Thanks you very much.

Best Regrads

---- Sunboy ----

2. getString() problem (very surprising)

3. DBImages - how do I cut and paste?

4. Error tring to select database name for a table object in the object inspector

5. dbImage and JPEG

6. Recruiters List of Opportunity

7. Loading file in dbImage field

8. wdbi interface...

9. How to delete an image in a DBImage ?

10. SQLError with DBImage

11. Using DBImage to store JPEG images to database

12. DBImage to Image.

13. DBImage.CutToClipBoard