厦门九钛:怎么样在VB中将ACCESS数据库中的OLE图片用PICTURE控件或者IMAGE控件显示出来???
来源:百度文库 编辑:神马品牌网 时间:2024/05/11 05:48:05
建个ASP文件
......
打开数据库
set rec=server.createobject("ADODB.recordset")
................
.............
myimagedata=rec("pic").getChunk(7500000)
Response.ContentType = "image/*"
Response.BinaryWrite myimagedata
.......................
rec.close
set rec=nothing
set connGraph=nothing
.....................
===================
PICTURE 的路径设为这个ASP文件!