Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADO Data Control 6.0 event failed to work 1

Status
Not open for further replies.

Tianjin

Technical User
Joined
Nov 18, 2003
Messages
80
Location
CA
I have a vb6.0 program that using ADO Data Control 6.0(SP3)(OLEDB) as data source, and I also need Microsoft ActiveX data Object 2.x library (SP3) for coding. However, as long as I reference to activeX data object library higher than 2.0 and run the program, it gave me an error at event of ADODC1_willmove.
"compile err: procedure declaration does not match description of event or procedure having the same name".

If I using 2.0 as reference, it didn't generate any error. The reason I want use higher version is that the recordset object doesn't have a Index property in 2.0 version library which I do need it in my code like this: rsCopies.index = "Title_Copy".

thankstianjin
 
Install VB6 SP6 and use the SP6 ADODC, which may have fixed this problem. You are using some very old software there.
 
Thanks a lot, dilettante
Problem solved. you are right, I am using a vb6 copy from when I was studying in school 7 years ago.
I stuggled to find an update for ADODC itself, but actually should go vb6 update.

Thanks again

tianjin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top