Re: Passing an ADO recordset using remoting
- From: "m.posseth" <michelp@xxxxxxxxxxxxxxx>
- Date: Mon, 28 Nov 2005 16:21:34 +0100
How do you use remoting between VB6 and VB.Net ? ,,,,,, i believed you could
only use remoting between .Net apps
"WayneB" <WayneB@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F55BE192-509D-433F-82F2-941B97186527@xxxxxxxxxxxxxxxx
> Hi
>
> I have inherited an existing Windows application written in VB6 with all
> UI,
> BL, DL embedded in the one app. I am intending to move some of the
> functionality from the VB6 client app to a central server so that it may
> be
> accessed by both the client app and a web app. The problem is that the
> client
> app utilises a lot of data and being written in VB6 this means ado and
> recordsets.
>
> I have created a server component to return a disconnected recordset (not
> a
> dataset) to the client using TCP remoting. However, when I try to bind
> this
> to a VB6 datagrid I get a "type mismatch" exception. Converting the
> recordset
> to a binary stream (using ado stream) on the server, passing this using
> remoting, and re-constructing as a recordset on the client machine works
> fine
> but obviously incurs the overhead of the save/load from the stream (approx
> 1
> sec on each load and save when tested with 10K records)
>
> Is it actually possible to pass the disconnected recordset directly using
> remoting or am I stuck with converting to a binary stream first.
>
> I would be grateful for any thoughts on this
>
> Thanks
>
> Wayne
.
- Prev by Date: Publisher policy hosting in IIS
- Next by Date: Re: Remoting + Marshal By Value
- Previous by thread: Publisher policy hosting in IIS
- Next by thread: Re: Passing an ADO recordset using remoting
- Index(es):
Relevant Pages
|