Hi - I am a .NET developer working on a legacy app and I need to access MS Access from VB 6. I have found some samples on how to do this (E.g http://bytes.com/topic/visual-basic/answers/569821-how-do-i-connect-vb-6-0-form-access-database
) however the code fails on the first line:
Dim con As New ADODB.Connection
Compile Error: User -defined type not define
Do I need some kind of import?