| Comunidad de Programadores |
![]() | |
| Asunto: | ayuda campo blob |
| Autor: | erikams (8 intervenciones) |
| Fecha: | 28/04/2012 20:28:47 |
![]() | |
| Asunto: | ayuda campo blob |
| Autor: | E.T. (953 intervenciones) |
| Fecha: | 28/04/2012 21:08:00 |
qryimag.ParamByName('imagen').LoadFromStream(bs,ftGraphic);qryimag.ParamByName('blbLogo').LoadFromFile(txtRutaLogo.Text, ftGraphic);
![]() | |
| Asunto: | ayuda campo blob |
| Autor: | erikams (8 intervenciones) |
| Fecha: | 30/04/2012 18:04:03 |
var
fldCampo : TField;
stStream : TStream;
pngImagen: Tdbimage;
begin
with qryimag do begin
qryimag.Close;
qryimag.SQL.Clear;
qryimag.SQL.Add('SELECT * FROM imagenes');
qryimag.Open;
try
fldCampo := FieldByName('imagen');
stStream := CreateBlobStream(fldCampo, bmRead);
pngImagen := Tdbimage.Create(imgfot);
pngImagen.Picture.Graphic.LoadFromStream(stStream);
imgfot.Picture.Assign(pngImagen);
pngImagen.Free;
except
end;
end;
end;
![]() | |
| Asunto: | ayuda campo blob |
| Autor: | E.T. (953 intervenciones) |
| Fecha: | 30/04/2012 20:06:02 |
![]() | |
| Asunto: | ayuda campo blob |
| Autor: | erikams (8 intervenciones) |
| Fecha: | 30/04/2012 20:46:17 |
![]() | |
| Asunto: | ayuda campo blob |
| Autor: | E.T. (953 intervenciones) |
| Fecha: | 01/05/2012 01:53:39 |
fldCampo := FieldByName('logo');
stStream := CreateBlobStream(fldCampo, bmRead);
imgLogo.Picture.Bitmap.LoadFromStream(stStream);
![]() | |
| Asunto: | ayuda campo blob |
| Autor: | erikams (8 intervenciones) |
| Fecha: | 02/05/2012 17:58:00 |
![]() | |
| Asunto: | ayuda campo blob |
| Autor: | erikams (8 intervenciones) |
| Fecha: | 03/05/2012 22:28:45 |