I think it's Mike Bailey, Database Tip #11 , and in several other forum entries I've studied.
It seems to work great from a Desktop App, but I can't seem to retrieve the photo using a Web App.
This gives unsupported format exception, probably because Web Apps use WebPicture instead of just Picture:
imgData = cur.Field("bin_data").StringValue
Dim Pic As Picture = Picture.FromData(imgData)
When I change the dim to WebPicture like this:
imgData = cur.Field("bin_data").StringValue
Dim Pic As WebPicture = WebPicture.FromData(imgData)
Rb complans that "FromData" doesn't exist.
I'll see what I can do with Picture.GetData.
Thanks.