Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. Clipboard through COM

Clipboard through COM

Scheduled Pinned Locked Moved COM
questioncomdata-structurestutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Adriaan Davel
    wrote on last edited by
    #1

    Hi all, Is it possible to read / write data to / from the clipboard using a COM interface? I'm writing a Silverlight app and the SIlverlight framework only allows for reading & writing text, I however need to write a JPEG byte array, and I'm running as a trusted application so I have extensive COM available. My second question is around how to write binary data to the clipboard so that Excel sees it as an Image (SL does not have an Image object type), anyone ever done that before?

    ____________________________________________________________ Be brave little warrior, be VERY brave

    S 1 Reply Last reply
    0
    • A Adriaan Davel

      Hi all, Is it possible to read / write data to / from the clipboard using a COM interface? I'm writing a Silverlight app and the SIlverlight framework only allows for reading & writing text, I however need to write a JPEG byte array, and I'm running as a trusted application so I have extensive COM available. My second question is around how to write binary data to the clipboard so that Excel sees it as an Image (SL does not have an Image object type), anyone ever done that before?

      ____________________________________________________________ Be brave little warrior, be VERY brave

      S Offline
      S Offline
      Stephen Hewitt
      wrote on last edited by
      #2

      Check out the OleGetClipboard[^] function.

      Steve

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups