VB2005, Remoting and DataTable-derived classes

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Phill W.

    #1

    VB2005, Remoting and DataTable-derived classes

    Can VB2005 /correctly/ pass a class derived from Datatable via .Net
    Remoting?

    Using VB2003, I created a class inherited from DataTable and added some
    extra bits to it. All was well until I tried passing it to a
    "server-side" method using .Net Remoting (even /after/ persuading
    Remoting to serialise Custom Types).

    I /sent/ an instance of my /derived/ class, but my server-side component
    only /received/ a DataTable, with all my extra bits gone.
    The only way around this, according to Newsgroup-World, was to unload
    the data into a surrogate class, Remote that, and reload it all again at
    the other end.

    So; will Remoting a DataTable-derived class work /properly/ in VB2005?

    TIA,
    Phill W.
Working...