VB6
I am trying to display a picture in an Image control. The picture is stored in an Access table as an OLE object. I am trying to use recordset.fields(i) to get the object, which may be part of the problem. Any ideas?
I couldn't get it to do this either unfortunatly, so would love to know how instead I put the images into a resource file and used a field on my DB to call the image to the image control.
Its a work around I know but unless one of the guru's knows its all I have
You need to get the data using the GetChunck method and save it to a temporary file, and then retrieve the picture using the VB LoadPicture method.
This is easier than it sounds.
See: thread709-391834 [/b][/i][/u][sub]*******************************************************
General remarks:
If this post contains any suggestions for the use or distribution of code, components or files of any sort, it is still your responsibility to assure that you have the proper license and distribution rights to do so!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.