use stdole.StdPicture object with an Image object ?

  • Thread starter Thread starter Sagaert Johan
  • Start date Start date
Sagaert,

It's rather roundabout, but it is possible. You have to call the Render
method on the StdPicture instance, passing a device context handle as the
first parameter. You can get this handle by calling the static FromImage
method on the Graphics class, passing the Image instance you want to copy to
an Image instance that you will assign to your picturebox.

Hope this helps.
 
Back
Top