Hi,

I am storing userdefined objects in the clipboard and I want them to be
available for external applications (Notepad, Excel, Word, ...) How does my
userdefined object have to look like to be usable in other applications? Do
I have to implement a special named method or something like that?

Best regards
Christian

Re: User defined Clipboard objects in other applications by Oliver

Oliver
Tue Sep 06 10:21:28 CDT 2005

Christian Nein wrote:

>I am storing userdefined objects in the clipboard and I want them to be
>available for external applications (Notepad, Excel, Word, ...) How does my
>userdefined object have to look like to be usable in other applications? Do
>I have to implement a special named method or something like that?

No, you have to make your data available using specific formats that these
applications are interested in. A normal text format will be evaluated by
many other applications (and may be sufficient for Notepad) and there are
other catch-all formats (HTML based formats come to mind), but to send
data into Word or Excel, other more complicated formats are needed. It
really depends on the exact kind of data you have and how it can be
transferred usefully into the target application - and some internal
formats used by Office apps may also be undocumented.


Oliver Sturm
--
Expert programming and consulting services available
See http://www.sturmnet.org (try /blog as well)