I'm trying to pass an image from a PictureBox control to a OLE container, so I can edit the pictue.
I use this:
SavePicture Picture1.Picture, App.Path & "\myfile.bmp"
OLE1.CreateEmbed App.Path & "\myfile.bmp", "Paint.Picture"
The problem is that the Class of the OLE object is not "Paint.Picture", but "Package"
Is it possible to pass directly the image from the PictureBox to the OLE?, Or if it is not, what is wrong with my code?