Article View: comp.lang.basic.visual.misc
Article #416Re: Images Controls that load picture from a recordset without Data Control
From: 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
Technical Details
Message-ID:
<34302E94.228B31F@home.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<01bcc81f$01e72c40$5df8fdc8@rcn-d.roadnet.com.br>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10c949,6fe18878e683067f X-Google-Attributes: gid10c949,public X-Google-Thread: 104586,6fe18878e683067f X-Google-Attributes: gid104586,public X-Google-Thread: 10be7f,6fe18878e683067f X-Google-Attributes: gid10be7f,public X-Google-Thread: 105ba9,6fe18878e683067f X-Google-Attributes: gid105ba9,public X-Google-Thread: f645d,6fe18878e683067f X-Google-Attributes: gidf645d,public X-Google-Thread: 110e3b,6fe18878e683067f X-Google-Attributes: gid110e3b,public X-Google-Thread: 108062,6fe18878e683067f X-Google-Attributes: gid108062,public X-Google-Thread: f7a67,6fe18878e683067f X-Google-Attributes: gidf7a67,public From: Geo <geo@home.net> Subject: Re: Images Controls that load picture from a recordset without Data Control Date: 1997/09/29 Message-ID: <34302E94.228B31F@home.net> X-Deja-AN: 276606488 References: <01bcc81f$01e72c40$5df8fdc8@rcn-d.roadnet.com.br> X-Priority: 3 (Normal) Organization: Here for a good time, not a long time. Newsgroups: comp.lang.basic.visual.misc,comp.lang.basic.misc,comp.lang.basic.visual,cz.comp.lang.basic.visual,microsoft.public.vb.bugs,microsoft.public.vb.database,microsoft.public.vb.database.rdo,microsoft.public.vb.database.dao