I hace a vb program that fails on compile

January 11, 2011 at 06:31:08
Specs: Windows XP, celeron/2gig ram
I created a program with the VB 6 application wizard and it fails on the following 2 lines that were created by the wizard, The error is "User-defined type not defined" any suggestions

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

and
Private Sub datPrimaryRS_WillChangeRecord(ByVal adReason As ADODB.EventReasonEnum, ByVal cRecords As Long, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset)


See More: I hace a vb program that fails on compile

Report •


#1
May 26, 2011 at 01:38:37

Report •

#2
May 26, 2011 at 06:27:33
Did you define a reference to ADO in your VB project.

Stuart


Report •

Related Solutions


Ask Question