Darren wrote:
> I have asked this one before and had no response.
>
> How can I load JPG picture files into a paradox table during run time?
>
> I know how to do bitmap (BMP) and metafiles (WMF) but not JPG. I assume
> JPG loading is similar to WMF.
FWIW, here's the reply I sent last week:
Darren wrote:
> We have recently purchased a SONY Digital camera and would
like to load
> the JPG files into a Paradox table.
>
> How can I programme it?
>
> I guess I need to use a blob field.
Yes, open a TBlobStream on the blob, a TFileStream on the file,
and do a blobstream.copyfrom(filestream,filestream.size);
cheers,
peter
============================================
Peter Hyde, SPIS Ltd, Christchurch, New Zealand
* Print-to-Web automation http://TurboPress.com
* Web design, automation and hosting specialists
* TurboNote: http://TurboPress.com/tbnote.htm
-- small, FREE and very handy
Find all the above and MORE at http://www.spis.co.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Database List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz