I need to identify the version of the local oracle client in a Windows machine. The requirement is to get the Client version using a VB program and then do required database export only if the client version is the desired one.
The export utility is identified from the ORACLE_HOME\bin folder, but it is not possible to identify the version of the selected export utility.
The problem is that there is no standard product versioning info (using Windows version.dll) for Oracle exes.
It does not seem feasible to capture the log of SQLPlus or so to get the client version to get the client version.
Is there any environment setting for the Client version, any registry setting or any file that has the client details? Any file names that are maintained properly with version numbers across different versions of Oracle from 7 to 10g?