Hi
I am new so I appoligize for stupid questions but I am stuck, I built a simple database using the VB6 Project Wizard and added a Database file to it. I even used the sample DB that comes with VB6 BIBLIO.MDB everything seemed to build correctly and I have reviewed the forms and everything look ok but when I run the project I receive the "Compile Error user-defined type not defined".
When I select debug it points me to this line of code;
"Private Sub datPrimaryRS_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, ByVal pError As ADODB.Error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset"
Please help
Thanks
Randy
I am new so I appoligize for stupid questions but I am stuck, I built a simple database using the VB6 Project Wizard and added a Database file to it. I even used the sample DB that comes with VB6 BIBLIO.MDB everything seemed to build correctly and I have reviewed the forms and everything look ok but when I run the project I receive the "Compile Error user-defined type not defined".
When I select debug it points me to this line of code;
"Private Sub datPrimaryRS_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, ByVal pError As ADODB.Error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset"
Please help
Thanks
Randy