🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.basic.visual.misc
Article #415

Images Controls that load picture from a recordset without Data Control

#415
From: Alexei
Date: Tue, 23 Sep 1997 00:00
21 lines
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 
Technical Details
Message-ID: <01bcc81f$01e72c40$5df8fdc8@rcn-d.roadnet.com.br>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c949,6fe18878e683067f,start
X-Google-Attributes: gid10c949,public
X-Google-Thread: 104586,6fe18878e683067f,start
X-Google-Attributes: gid104586,public
X-Google-Thread: 110e3b,6fe18878e683067f,start
X-Google-Attributes: gid110e3b,public
X-Google-Thread: 10be7f,6fe18878e683067f,start
X-Google-Attributes: gid10be7f,public
X-Google-Thread: 108062,6fe18878e683067f,start
X-Google-Attributes: gid108062,public
X-Google-Thread: f645d,6fe18878e683067f,start
X-Google-Attributes: gidf645d,public
X-Google-Thread: 105ba9,6fe18878e683067f,start
X-Google-Attributes: gid105ba9,public
X-Google-Thread: f7a67,6fe18878e683067f,start
X-Google-Attributes: gidf7a67,public
From: "Alexei" <alexei@roadnet.com.br>
Subject: Images Controls that load picture from a recordset without Data Control
Date: 1997/09/23
Message-ID: <01bcc81f$01e72c40$5df8fdc8@rcn-d.roadnet.com.br>
X-Deja-AN: 274828243
Organization: RCN
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