Solved

BLOB with queries

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Wininet read php file from internet issue 6 91
Delphi: how to implement a User Shortcut mapper? 1 110
Using idhttp to login to instagram 2 89
Dev express lookupcombo 3 28
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…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
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…

773 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