User-defined type not define error

hi,

does anyone have any idea what should i do with this declaration that cause "User-defined type not defined" error prompted everytime i run the program.

in modUti.bas

Option Explicit
Public Cn As New ADODB.Connection
Public Rs As New ADODB.Recordset


Thanks.
icecoolAsked:
Who is Participating?
 
corvanderlindenConnect With a Mentor Commented:
Add a reference to Microsoft ActiveX data Objects library
0
 
icecoolAuthor Commented:
more details pleasseee...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.