I am getting the above error in my Visual Basic 6.0 application while running it. The error occurs at the connection establishing code.

Set cnntnDB = ADODB.Connection

Connection done via Microsoft ODBC for Oracle. The oracle version which I have both 10 and 11g. References - Microsoft ActiveX Data Objects 2.6 Library (msado26.tlb) in Program Files (x86)