Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21193

help me vb6 mysql bug?

$
0
0
please help me in my project in vb6?
can you help me why. this happen .when i save a image in sql database and i load it in desktop the image not show properly . it show half a the image only. pls help. here is the code and image
sql = "select * from studentrecord where student_number='" & studentnumber.Caption & "'"
getandsave (sql)
'Path sa iamge
imgfile.Open
imgfile.Type = adTypeBinary
imgfile.LoadFromFile CommonDialog1.FileName
rs.Fields("photo") = imgfile.Read
rs.Update
imgfile.Close
Attachment 95845
Attached Images
 

Viewing all articles
Browse latest Browse all 21193

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>