Squeebee
asked on
URGENT: BLOB from ADO Stream to picturebox WITHOUT temp files
Hi All;
I want to move a file out of my Database using a stream object and send it straight into a picturebox in VB6 without using any temporary files. You can assume I have a stream object which I have loaded by BLOB into.
Squeebee
P.S. Not a lot of points, but all I have. I have a couple hundred other points in other unanswered questions (that never got usable answers) that I can throw to the correct answer as well.
I want to move a file out of my Database using a stream object and send it straight into a picturebox in VB6 without using any temporary files. You can assume I have a stream object which I have loaded by BLOB into.
Squeebee
P.S. Not a lot of points, but all I have. I have a couple hundred other points in other unanswered questions (that never got usable answers) that I can throw to the correct answer as well.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes,it loads the blob data into a byte array,then converts the array into a picture object that can be loaded into a picture box without using a temp file.
ASKER
Ok, so far so good, but I get a user-defined type not defined' error when I try to run it, complaining about the ipersiststream portion of the code.
ASKER
Vinny's reference was incomplete and unsupported, but at least got me going in the right direction.
ASKER
Otherwise, does anyone else have ideas?
Squeebee