Solved

BLOB with queries

Posted on 1998-08-31
3
177 Views
Last Modified: 2010-04-04
How can I get a blob field From SQL Server 6.5
to a TImage Componenet or Insert from TImage to
the database
give me a piece of code please

thanks in advance
0
Comment
Question by:Cuneyt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
EmmDieh earned 20 total points
ID: 1338228
use a tBlobStream.

bs := tBlobStream.Create(aBlobField, bmRead);
try
  image.LoadFromStream(bs);
finally
  bs.Free;
end;
0
 

Author Comment

by:Cuneyt
ID: 1338229
thanks a lot
0
 
LVL 1

Expert Comment

by:EmmDieh
ID: 1338230
Please evaluate the answer.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Multiple image collision 13 104
Controlled Assessment GCSE - desperate help needed 4 118
Delphi inherited method 6 86
firemonkey Android Listview Sort items 7 97
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question