dbimage

所属分类:图形图像处理
开发工具:Visual Basic
文件大小:126KB
下载次数:1
上传日期:2015-01-03 19:02:39
上 传 者umar.68168
说明:  image store in using visual basic 6.0

文件列表:
DBPict.mdb (194560, 2001-11-21)
frmPhoto.frm (16393, 2001-11-21)
modPhoto.bas (5486, 2001-11-21)
prjPhoto.vbp (1028, 2001-11-21)
prjPhoto.vbw (85, 2001-11-21)

==================================================================== Database Image Storage and Retrival Demo Readme Author : Mrugendra Bhure Uses : Microsoft Access 97 and Visual Basic 6 API Functions Used 1) GetTempFileName : For getting Temporary File Name 2) GetTempPath : For getting Temporary File Directory ==================================================================== Features: 1) Lets images to be stored in database 2) Allow images to be retrived and shown in pictureboxes and ImageCtrls 3) Set Image Brightness 4) Scroll provided for larger images as wel as Strech Images feature. 5) UnRGb function provided to break pixels into their RGB Codes. Working: ------------ For retriving images : Open recordsets containing image fields and use the getChunk method of ADO recordsets to get the file byte by byte and store these bytes in a temporary file and show using pictureboxes. For storing images : Open file containing image and read byte by byte and then use ADO recordset's appendchunk method to add image to database. Notes: 1) You must have two fileds A) OLE Type for Storing Images 2) Numeric for storing size of the image. 2) You must set scaleMode to VBPixels for each picturebox for Brightness feature to work fast. 3) You must also set the AutoRedraw property of the pictureboxes to True. ===================================================================== Disclaimer This example program is provided "as is" with no warranty of any kind. It is intended for demonstration purposes only. In particular, it does no error Regards Mrugendra

近期下载者

相关文件


收藏者