Hey guys I keep getting this " user defined type not defined error highlighting the following code.

VB.Code
Private Sub datPrimaryRS_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, ByVal pError As ADODB.Error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset

I'm rather new to VB and trying to Deploy a project. Can anyone please give me an solution for this problem above.

Thanx and Regards.