[AccessD] How To Display an Image from a Pervasive Database table Via Access 2007

Jurgen Welz jwelz at hotmail.com
Thu May 14 15:46:44 CDT 2015


I haven't been able to get an image into one of our Pervasive databases so pulling one out is problematic.

I use the following code to change the picture in an image control (originally Access 2000 code but still running in 2013)

        Me.imgSort.PictureData = Forms("frmScheduling")("imgDescending").PictureData

Perhaps reading in the binary stream to a variable and setting an image control .PictureData property.  I'm not certain about how savy Access is in interpreting the content of the picture data.  I've been setting image controls on the fly for quite some time and have done some parsing of the binary data to read pixel row/col counts and rgb values based on various colour depths and I have a pretty slick VB class for dealing with EXIF data from camera based images.

Without access to an example of the bitstream data, which varies with the image format, i've run into a dead end on this one.

Ciao
Jürgen Welz

Edmonton, Alberta

 		 	   		  


More information about the AccessD mailing list