<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Open config files from .Net AddIn in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/open-config-files-from-net-addin/m-p/28228#M161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;H all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am building an Add-In that needs to connect to an Oracle database, so I added&amp;nbsp; an “app.config” file and a connectionStrings tag, but it&lt;BR /&gt;does not work because it does not find the config file from the .vb program&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="html" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14449305688377025 jive_text_macro" data-renderedposition="134_8_912_0" jivemacro_uid="_14449305688377025"&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;PRE __default_attr="html" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14449305688231458" data-renderedposition="134_8_912_0" jivemacro_uid="_14449305688231458"&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: 10pt;"&gt;&amp;lt;connectionStrings&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: 10pt;"&gt;clear&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: 10pt;"&gt;add&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-family: Consolas; font-size: 10pt;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;=My&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;ConnectionString&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-family: Consolas; font-size: 10pt;"&gt;providerName&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;System.Data.OracleClient&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-family: Consolas; font-size: 10pt;"&gt;connectionString&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Data Source=XXXXPersist Security Info=True;User ID=AAA;Password=XXXX; Unicode=True;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt; /&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: 10pt;"&gt;&amp;lt;connectionStrings&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I read a config file from an Add-In?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Oct 2015 17:37:46 GMT</pubDate>
    <dc:creator>JoseSanchez</dc:creator>
    <dc:date>2015-10-15T17:37:46Z</dc:date>
    <item>
      <title>Open config files from .Net AddIn</title>
      <link>https://community.esri.com/t5/developers-questions/open-config-files-from-net-addin/m-p/28228#M161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;H all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am building an Add-In that needs to connect to an Oracle database, so I added&amp;nbsp; an “app.config” file and a connectionStrings tag, but it&lt;BR /&gt;does not work because it does not find the config file from the .vb program&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="html" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14449305688377025 jive_text_macro" data-renderedposition="134_8_912_0" jivemacro_uid="_14449305688377025"&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;PRE __default_attr="html" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14449305688231458" data-renderedposition="134_8_912_0" jivemacro_uid="_14449305688231458"&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: 10pt;"&gt;&amp;lt;connectionStrings&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: 10pt;"&gt;clear&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: 10pt;"&gt;add&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-family: Consolas; font-size: 10pt;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;=My&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;ConnectionString&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-family: Consolas; font-size: 10pt;"&gt;providerName&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;System.Data.OracleClient&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-family: Consolas; font-size: 10pt;"&gt;connectionString&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Data Source=XXXXPersist Security Info=True;User ID=AAA;Password=XXXX; Unicode=True;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt; /&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: 10pt;"&gt;&amp;lt;connectionStrings&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I read a config file from an Add-In?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 17:37:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/open-config-files-from-net-addin/m-p/28228#M161</guid>
      <dc:creator>JoseSanchez</dc:creator>
      <dc:date>2015-10-15T17:37:46Z</dc:date>
    </item>
  </channel>
</rss>

