Thread View: comp.lang.basic.visual.misc
2 messages
2 total messages
Started by Alexei
Tue, 23 Sep 1997 00:00
Images Controls that load picture from a recordset without Data Control
Author: Alexei
Date: Tue, 23 Sep 1997 00:00
Date: Tue, 23 Sep 1997 00:00
21 lines
1722 bytes
1722 bytes
Hi,
I need one kind of Control that can load a image from a recordset without
Data Control. If possible this control can show images > 256 Colors. I use
VB5 With SQL65.
Ex.:
Sub Load_Image()
dim lConnect as Connection
dim lRecordset as Recordset
set lConnect = FG_SQLConnect(gStringConnect)
set lRecordSet = FG_SQLOpen("Select Image from T_IMG where CD_IMG = 1",
lConnect)
MyControl.property = lRecordset.fields("Image").value
End Sub
alexei@roadnet.com.br
Fortaleza, Ce - Brazil
Re: Images Controls that load picture from a recordset without Data Control
Author: Geo
Date: Mon, 29 Sep 1997 00:00
Date: Mon, 29 Sep 1997 00:00
27 lines
1936 bytes
1936 bytes
Alexei wrote:
>
> Hi,
>
> I need one kind of Control that can load a image from a recordset
> without
> Data Control. If possible this control can show images > 256 Colors. I
> use
> VB5 With SQL65.
>
> Ex.:
> Sub Load_Image()
> dim lConnect as Connection
> dim lRecordset as Recordset
Why do you use l. You should use o for object. l is used for long.
>
> set lConnect = FG_SQLConnect(gStringConnect)
> set lRecordSet = FG_SQLOpen("Select Image from T_IMG where
> CD_IMG = 1",
> lConnect)
>
> MyControl.property = lRecordset.fields("Image").value
> End Sub
>
> alexei@roadnet.com.br
> Fortaleza, Ce - Brazil
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads