🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Storing images from IStream based object into MSSQL through ADO

#1280
From: Brad Arant
Date: Mon, 13 Sep 2004 21:22
7 lines
1321 bytes
I have many examples of using a recordset to store an image into MSSQL using
a CRecordset object but I am trying to do this using BCB6.

The question is what is the best way to do this and is there any code
examples anywhere that can help me? I have done this successfully in VC++
using the ADO.Stream object but for the life of me I can't figure out the
details in BCB using the TADO objects.
Technical Details
Message-ID: <41460f24$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,9b4a015d247fa72d,start
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Brad Arant" <barant@barant.com>
From: "Brad Arant" <barant@barant.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Storing images from IStream based object into MSSQL through ADO
Date: Mon, 13 Sep 2004 14:22:04 -0700
Lines: 12
Organization: BARANT Technologies
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 66.12.94.132
Message-ID: <41460f24$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1095110436 66.12.94.132 (13 Sep 2004 14:20:36 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail