Answer the question
In order to leave comments, you need to log in
Why is a blank returned from the clipboard?
I add an object of my data type to the buffer.
My.Computer.Clipboard.SetData(MyObject.GetType.ToString, MyObject)
Answer the question
In order to leave comments, you need to log in
I support the previous speaker. You need to serialize the object into a stream of bytes (or xml) before buffering and deserialize after.
Unfortunately, you cannot put objects on the clipboard.
Strings are allowed, bytes are allowed, objects are not.
Maybe because there is an instance of a class in the buffer that doesn't have an override for Object.ToString()?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question