lykwid Posted August 18, 2004 Share Posted August 18, 2004 ok this may be hard to explain but i'll try ok basically what i've done is allow a user to save the path to an image to an access database for example: "c:\image.bmp" is stored in the access column "pic" how do i extract that from the database and display the image.bmp on a form? hope that's clear enough sorry if it isn't Link to comment Share on other sites More sharing options...
0 colordeficiency Posted August 18, 2004 Share Posted August 18, 2004 binary.stream? stream the file into binary, and retrive it from database ? Link to comment Share on other sites More sharing options...
0 chubby10 Posted August 18, 2004 Share Posted August 18, 2004 ok this may be hard to explain but i'll tryok basically what i've done is allow a user to save the path to an image to an access database for example: "c:\image.bmp" is stored in the access column "pic" how do i extract that from the database and display the image.bmp on a form? hope that's clear enough sorry if it isn't Open the Access DB's BLOB field as a stream (look it up if you don't know what it is)... Pass the Stream to a Bitmap/Image Object and load. Pass the Bitmap/Image object to a Picturebox... Link to comment Share on other sites More sharing options...
0 lykwid Posted August 24, 2004 Author Share Posted August 24, 2004 ahh sorry.. i'm pretty new to vb.net can u maybe post an example or something i can look over? Link to comment Share on other sites More sharing options...
0 deaon Posted August 31, 2004 Share Posted August 31, 2004 I'm having a simular problem with pdf documents. I was able to stream it to binary but the filestream requires specific access to a directory. Is there a way to bring up the file save as dialouge box to specify where the user wants to save it? Link to comment Share on other sites More sharing options...
Question
lykwid
ok this may be hard to explain but i'll try
ok basically what i've done is allow a user to save the path to an image to an access database
for example: "c:\image.bmp" is stored in the access column "pic"
how do i extract that from the database and display the image.bmp on a form?
hope that's clear enough sorry if it isn't
Link to comment
Share on other sites
4 answers to this question
Recommended Posts