Click to See Complete Forum and Search --> : Embedded Visual Basic


KappuJ
February 26th, 2001, 10:58 PM
How can I display an image in an image control that I retrieve from a SQL database ?? The picture property only allows the path of the file name.
I tried
ImgCtrl1.Picture = rs("Photo").Getchunk
and it didnt work.

shaileshthavare
March 1st, 2001, 11:11 PM
picturecontrol.picture = loadpicture(filename alongwith path)
like
picture1.picture = loadpicture("c:\pictures\dog.bmp")