copying data to clipboard

Wouter

New member
Joined
Mar 27, 2011
Messages
2
Programming Experience
1-3
Hi there,

I'm trying to program that specific data will be copied to the clipboard so the user can paste it in, for example, Excel or Word.
I already know that the following code can do this:

Clipboard.setdataobject( " some text " )

But that's where my problem just starts. It seems I can only copy the data to Excel and Word etc. as long as my application is running. As soon as I quit it, the clipboard is empty.

How can I program that the data stays on the clipboard even when the application is closed?

Thx in advance
 
If you're just setting single data such as text you can use the SetText method, it persists also.
 
Back
Top