Results 1 to 3 of 3

Thread: getting an image from clipboard

  1. #1

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428

    Unhappy getting an image from clipboard

    Can anyone help me with this:
    I don't even know if it is a right thing to do, maybe I have to do it another way. Anyways, I have this code but since Option Strict is on it will give me error:

    PictureBox1.Image = Clipboard.GetDataObject()

    I have to find a way to convert the data form clipboard to image, the error is: "Option Strict disallows implicit conversions from System.Windows.Forms.IDataObject to System.Drawing.Image."
    what should I do

    tnx

  2. #2

  3. #3

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    tnx

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width