I am trying to access a file on an AS400 using ODBC. I was trying to use DAO but someone showed me some code on using ADO. When I put the code into effect it crash and said:

User Defined type not Defined.

on the statement:

Dim objConn as New ADODB.Connection

Do I need to add a dll or something to use ADO in VB5?