MyApp-Copy-->Office-Paste-DoubleClick-->MyApp

JumpyNET

Well-known member
Joined
Apr 4, 2005
Messages
151
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.
 
I think youll 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.
 
Back
Top