我列一下,化镜的
Public function SaveAs(FullPath)
dim dr,ErrorChar,i
SaveAs=true
if trim(fullpath)="" or FileStart=0 or FileName="" or right(fullpath,1)="/" then exit function
set dr=CreateObject("Adodb.Stream")
dr.Mode=3
dr.Type=1
dr.Open
Data_5xsoft.position=FileStart
Data_5xsoft.copyto dr,FileSize
建立一个rs对象,这个我想你一定知道的
rs.addnew
rs("image")=dr.appendchunk
rs.update
dr.SaveToFile FullPath,2---------》把这个去了
dr.Close
set dr=nothing
SaveAs=false
end function
End Class