How do I add Interop.ADODB?
Posted on 2004-09-21
I have written the following code.
Dim iMail As CDO.Message
Dim iConf As CDO.Configuration
Dim iFlds As ADODB.Fields
set iMail = New CDO.Message
set iConf = New CDO.Configuration
set iFlds = iConf.Fields
Everything is fine until I get to "set iFlds = iConf.Fields". Then I get a "Reference required to assembly 'Interop.ADODB' containg the type 'ADODB.Fields'. Add one to your project"
I have a reference to ADODB and CDO already added to my sln. I am not for sure what they want me to do.