Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

1. I want to put an image and a custom class to the clipboard.

2. I want to be able to paste the image and custom class to MS Word as one object. The image should be visible, but the class should be hidden/embedded to the image.

3. When I double click the "image" in Word the embedded custom class should be redirected to my application.

 

Any ideas how I could accomplish what I descriped above? I know this can be done. A good example is a vector drawing program called Xara.

  • 3 weeks later...
Posted

I think you'll need to serialize your object onto the clipboard and then have the user paste that into the word document.

 

What may work, is to serialize your object to a file, then user the Office PIA to insert a picture with a reference to the file and then add that file type association to your program.

 

Just a thought.

~Nate�

___________________________________________

Please use the [vb]/[cs] tags on posted code.

Please post solutions you find somewhere else.

Follow me on Twitter here.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...