PDA

Click to See Complete Forum and Search --> : Image Database


PaulCE
Mar 14th, 2000, 09:24 PM
You should be able to bind the picturebox control to the data control.

Use the LoadPicture method to load a picture from a file into your picturebox control


I had tried the LoadPicture method with picturebox bound to a data control however the image does not store in the DB. I've used recorset.update with no success either.

Here's the code I'm using.

SelectedFile = File1.Path & "\" & File1.FileName
Picture1.Picture = LoadPicture(SelectedFile)

Thanks, Paul