I am trying to send a variable of UDT via a TCP connection. However, when I try and run the project I get the following message.

"Compile Error

Only user-defined types defined in public object modules can be coerced to or from a variant or passed to late-bound functions."

This is all very well, but what does this actually mean?

Appreciate any advice.

Tks
Adrian