Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: ADODC Compile Error


Message #1 by "Kevin Crider" <criderkevin@a...> on Mon, 17 Mar 2003 15:45:47
MDAC Utility: Component Checker
This version of the Component Checker utility includes updated snapshots for
MDAC 2.5 SP3 and 2.7 SP1. The Component Checker tool is designed to help you
determine installed version information and diagnose installation issues
with the Microsoft Data Access Components (MDAC).

http://www.microsoft.com/downloads/details.aspx?FamilyId=8F0A8DF6-4A21-4B43-
BF53-14332EF092C9&displaylang=en


Overview
The Component Checker tool is designed to help you determine installed
version information and diagnose installation issues with the Microsoft Data
Access Components (MDAC). MDAC is installed with numerous Microsoft products
and can also be redistributed using the redistribution program
(mdac_typ.exe) that you can download from the Microsoft Universal Data
Access Web site.


-----Original Message-----
From: Kevin Crider [mailto:criderkevin@a...]
Sent: Monday, March 17, 2003 9:37 PM
To: professional vb
Subject: [pro_vb] RE: ADODC Compile Error


I don't think so...but anything is possible. Do you know how can I check
the version of MDAC installed on my machine?


> Did you apply any newer version of MDAC on this machine?

-----Original Message-----
From: Kevin Crider [mailto:criderkevin@a...]
Sent: Monday, March 17, 2003 9:46 AM
To: professional vb
Subject: [pro_vb] ADODC Compile Error


I have a VB project I'm updating, but when I opened it this morning it
gave me this error when I tried to execute...

COMPILE ERROR.
Procedure Declaration does not match description of event or procedure
having the same name.

The event it's referrring to is the ADODC Will_Change and
FieldChangeComplete events. (using MS ADO Data Control 6.0, have reference
to MS ActiveX Data Objects 2.5 in project) Here's the first event it fails
on...

Private Sub adoJobs_FieldChangeComplete(ByVal cFields As Long, Fields As
Variant, ByVal pError As ADODB.Error, adStatus As ADODB.EventStatusEnum,
ByVal pRecordset As ADODB.Recordset)
    Call myValidationRoutine
End Sub

All the parameters were put in by VB, not me, and they look OK - any
change or deletion of parameters causes same error. Plz Help!

Kevin



  Return to Index