Home All Groups Group Topic Archive Search About

ADO records not passing within dll

Author
16 Aug 2006 3:20 PM
JW
I created a dll control which utilizes (among other things) ADO recordsets.
The control properly reads the database catalog and can pull an empty
recordset, but when passing records to a listform (seperate form with a
gridview - as Friend) within the control, no records are passed, but the
recordset structure is intact...  Any idea what might be going on here??
advTHANKSance
JW

Author
16 Aug 2006 3:42 PM
Cor Ligthert [MVP]
JW,

As for ever, can you show us a piece of code, as you cannot find it with
that, what you expect you from us to find it without that.

Cor

Show quoteHide quote
"JW" <angelnoire***@yahoo.com> schreef in bericht
news:DIGEg.5770$3l.4802@tornado.texas.rr.com...
>I created a dll control which utilizes (among other things) ADO recordsets.
>The control properly reads the database catalog and can pull an empty
>recordset, but when passing records to a listform (seperate form with a
>gridview - as Friend) within the control, no records are passed, but the
>recordset structure is intact...  Any idea what might be going on here??
> advTHANKSance
> JW
>
>
>
Author
17 Aug 2006 4:19 PM
Paul Clement
On Wed, 16 Aug 2006 15:20:03 GMT, "JW" <angelnoire***@yahoo.com> wrote:

¤ I created a dll control which utilizes (among other things) ADO recordsets.
¤ The control properly reads the database catalog and can pull an empty
¤ recordset, but when passing records to a listform (seperate form with a
¤ gridview - as Friend) within the control, no records are passed, but the
¤ recordset structure is intact...  Any idea what might be going on here??
¤ advTHANKSance

Have you disconnected the Recordset by setting ActiveConnection to Nothing? Are you marshaling the
Recordset ByVal?


Paul
~~~~
Microsoft MVP (Visual Basic)