
Procedure Decloration does not match event
Guess I clobbered my first attempt - sorry...here it is again -Rich
----
Try converting all your event subroutine declarations from "pRecordset as
ADODB.Recordset" to pRecordset As ADODB.Recordset20" as described below and
try again to see if this is truely the problem. It should get you going again
- then youll have to chase down servicepacks etc. to get it right....
Look further in newsgroups microsoft.public.data.ado for "ADO Version
confusion"
Below Ive copied explanation posted there by Lothan:
Quote:
>There is a compatibility issue between versions of MDAC and versions of the
>ADO data control. The ADO data control bundled with VB6 (including SP1
>through SP3) uses ADO 2.0; the version of the ADO data control included with
>VB6 SP4 uses ADO 2.5. If you are using MDAC 2.1 or 2.5 but have not yet
>upgraded to VB6 SP4, you must change the last parameter from pRecordset As
>ADODB.Recordset to pRecordset As ADODB.Recordset20 to force the event to use
>a 2.0 Recordset object. Note that when you finally update to VB6 SP4, you
>must revert the declaration back to pRecordset As ADODB.Recordset.
>Which versions you should use depends entirely on your needs and
>environment. My recommendation is to use MDAC 2.5 with VB6 SP4.
Good luck - Rich
----- Posted via NewsOne.Net: Free (anonymous) Usenet News via the Web -----
http://newsone.net/ -- Free reading and anonymous posting to 60,000+ groups
NewsOne.Net prohibits users from posting spam. If this or other posts