Solved

BLOB with queries

Posted on 1998-08-31
3
176 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
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

820 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