situation:
- working on .net application (using ADODB.connection) that need to connect to wide range of oracle versions (from 19c to 8i)
- multiple oracle clients installed in pc
- 10.2.0 (this is required to connect to oracle 8i)
- 11.2.0 (this is required to connect to oracle 19c)
- .net application seems to stick to use either 10.2.0 or 11.2.0 client. When 10.2.0 is used, connection to 19c failed. When 11.2.0 is used, connection to 8i failed.
Question: How to programmatically choose oracle client based on oracle database version to connect to? i.e. How to programmatically use client 10.2.0 when connecting to oracle 8i and use client 11.2.0 when connecting to 19c?
Please let me know if any additional information is needed.
Thanks.
#Region "Assembly ADODB, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" ' C:\Program Files (x86)\Microsoft.NET\Primary Interop Assemblies\adodb.dll #End Region – Jach May 30 '23 at 10:02