Hi fellers,

the following code:
Code:
Clipboard.SetText txtHex.Text
seems to save the data in txtHex to a temporary clipboard that applies only to the application in which it is used. Let me give you an example. In txtHex is "#0080FF" and when I try to put that data in the system clipboard using the above function, it doesn't go. The only way I can retrieve "#0080FF" is by putting Clipboard.GetText into the application. However, I want people to be able to copy "#0080FF" and use it in another application, for instance NotePad.

Looking in win32api.txt, it appears there is an API call SetClipboardData out there! I've looked, but I don't have the foggiest how to use it, and whether it'll work for my purposes.

Anybody?

Cheers in advance!