🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #1598

Re: ADO - Access - Images

#1598
From: Viatcheslav V. Vassiliev
Date: Sun, 30 May 2004 08:36
34 lines
1861 bytes
Column type is LONGBINARY. You could access it as BLOB field with
TBlobField::LoadFromStream() and TBlobField::SaveToStream().

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)

"Zannha" <asd> �������/�������� � �������� ���������:
news:40b92b3f$1@newsgroups.borland.com...
> Hi,
>
> creating a database in access, and I need to store images in 2 fields in
the
> table.
>
> What type of field should I use to be able to read/write images to an
access
> database using ADO VCL components?
>
> How do I write an image from a TMemoryStream into the database, and how do
I
> read it out to a TMemoryStream?
>
> I'm using BCB 6.0 Enterprise.
>
> In advance thanks for any response.
>
> Zan
>
>
Technical Details
Message-ID: <40b99cf2$2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40b92b3f$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,6d0993f8aff78e0a
X-Google-Attributes: gid10698b,public
From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <40b92b3f$1@newsgroups.borland.com>
Subject: Re: ADO - Access - Images
Date: Sun, 30 May 2004 12:36:02 +0400
Lines: 36
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 213.234.218.42
Message-ID: <40b99cf2$2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1085906162 213.234.218.42 (30 May 2004 01:36:02 -0700)
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail