I have been tyring to use the VB 6 Data Form Wizard Add-In which supposedly automates the creation of certain forms that connect to a Microsoft Database. After succesfully going through the wizard, I get the following error message when I try to run the form that the wizard created for me . . .

Error message is, "Compile Error: Procedure Declaration does not match description of event or procedure having the same name."

The highlted part of the source code is,
"Private Sub datPrimaryRS_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, ByVal pError As ADODB.Error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset"


Again, I didn't write any of the code, the wizard did all the work so its all gobbly-gook to my beginner brain!

Has anyone had trouble using the VB 6 Data form Wizard Add-In in this way?

I am using VB 6.0 Professional and I have Service Pack 5 Installed.

Thank you so much

ccabaner