title: Getting location of file tnsnames.ora by code
body: <p>How can I get the location of the <code>tnsnames.ora</code> file by code, in a machine with the Oracle client installed?</p>
  
  <p>Is there a windows registry key indicating the location of this file?</p>