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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top