Printing graphics stored in database
Hi,
I have problem when printing graphics that is stored in database.
When I am in design mode and try to preview the graphics, it has no
problem previewing, however, when I execute the actual code with
compiled EXE, it complains that an invalid graphic format.
How should I go about it?
I'm using WinXP, Delphi7, RB9.02.
Thanks
Patrick Ooi
I have problem when printing graphics that is stored in database.
When I am in design mode and try to preview the graphics, it has no
problem previewing, however, when I execute the actual code with
compiled EXE, it complains that an invalid graphic format.
How should I go about it?
I'm using WinXP, Delphi7, RB9.02.
Thanks
Patrick Ooi
This discussion has been closed.
Comments
You need to be sure the DBImage.GraphicType property is set to the type of
graphic you are loading. Also, if you are adding JPEG images for example,
you need to add ppJPEG to your uses clause. (ppGIF for .gif files).
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com