PDA

Click to See Complete Forum and Search --> : Images in a dataset


Mike_nz
Sep 5th, 2002, 05:01 AM
I have a problem which Im not sure what the best solution is.

I have some data files which I read directly into a strongly typed dataset. Occasionally in these data files there may be some image data in the form of binary hex pairs. The binary hex pairs were are generated from a WMF image when the data file was created.

I have a crystal report that runs off this data set in which I'd like to show the images. I'm currently re-assembling the WMF image from the hex pairs, unfortuneately crystal doesn't support the wmf file format and as such I need to find a way to make the report work.

My initial thoughts were to convert the image to a bmp file as crystal can use bmp images. I strike two problems with this solution:
1) how to convert the wmf to a bmp file
2) how to store the bmp file in the dataset so that crystal can access it.

if anyone can tell me how to do the above or has a better solution I would be most appreciative to hear it.

Regards

Mike