Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 22051

Copy custom format / object to Clipboard

$
0
0
Hi,

I'm looking at adding a Copy/Paste feature in my app, where the user can copy an instance of an object in one document to another. The objects are specific for my app (custom collections), so I can't use the normal Clipboard copy method of VB6.

From the documentation that I have dug up so far I understand that I have to create a custom format and use API's to put the data on the clipboard, and get it back from it. Unfortunately I've only found very generic / vague descriptions of how to do this, but no concrete samples.

Would anyone have some sample code on how to copy a custom object to the clipboard and the retrieve it back from there?

Thanks in advance!

Regards,
Erwin

Viewing all articles
Browse latest Browse all 22051

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>