Save picturebox control image to a file
Hi,
How should I go about saving the picture box control (in ACCESS) image to a file.The picture box control contains images of different type (pbg,jpeg etc)
I need to save the images in either the original format or the .bmp format.
I've tried using saving the picturedata to file in VBA.
Please advice.
Re: Save picturebox control image to a file
don't know about in access, but you can try
savepicture image1.picture, "somepic.bmp"
Re: Save picturebox control image to a file
Change the path as required...
vb Code:
savepicture Picture1.Image, "C:\mybitmap.bmp"
Re: Save picturebox control image to a file
This method doesn't work for any pictures that are not bitmap.I've used some sample codes from http://www.cs.uvm.edu/~erickson/educ...b_bmp/BMP.html
But now my problem is the images size is not correct and a hazy image is being saved.
Please advice.