My objects seem to be put into the clipboard ok and Clipboard.ContainsData()
is returning true but when I GetData() the object returned is null. What am
I doing wrong??

Re: Clipboard.GetData is always returning null by Dave

Dave
Wed Apr 12 22:27:36 CDT 2006

I'm putting two different types of objects in the clipboard but both are
marked Serializable.

"Dave" <none@nowhere.com> wrote in message
news:OB3XTmqXGHA.1192@TK2MSFTNGP04.phx.gbl...
> My objects seem to be put into the clipboard ok and
> Clipboard.ContainsData() is returning true but when I GetData() the object
> returned is null. What am I doing wrong??
>



Re: Clipboard.GetData is always returning null by Dave

Dave
Wed Apr 12 23:08:56 CDT 2006

The objects I'm trying to put in the clipboard are remoted objects (they
inherit MarshalByRefObject). Could that be the problem even though they are
also marked with the Serializable attribute? Don't objects HAVE to be
serializable to be remotable??