JumpyNET Posted December 2, 2008 Posted December 2, 2008 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. Quote
Nate Bross Posted December 22, 2008 Posted December 22, 2008 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. Quote ~Nate� ___________________________________________ Please use the [vb]/[cs] tags on posted code. Please post solutions you find somewhere else. Follow me on Twitter here.
Recommended Posts