<?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 EPANet dll with ArcMap Addin not working in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/epanet-dll-with-arcmap-addin-not-working/m-p/454645#M3051</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an input file(.inp) of EpaNet project. I want to use this .inp file to run the project with the help of epanet2.dll from my arcmap addin button.&lt;/P&gt;&lt;P&gt;In EPANET project , there is a portion that is running hydraulic simulation. This hydraulic simulation run by calling &amp;lt;ENsolveH()&amp;gt;&amp;nbsp; or &amp;lt;ENepanet(inputfile,reportFile,outputFile)&amp;gt;method of epanet2.dll . When running hydraulic simulation , a temporary binary file(HYD) may be created. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I run the simulation in a console application of c# project , this is run successfully. But when I call the running method from a simple addin button application(show message "hello world") of acrmap, an error gives from running method (ENsolveH/ENepanet)&amp;nbsp; . This error gives a code of 305 that indicate "Cannot open hydraulics file" according to documenteation.&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://iridia.ulb.ac.be/~manuel/doc/toolkit_help.pdf" rel="nofollow" target="_blank"&gt;http://iridia.ulb.ac.be/~manuel/doc/toolkit_help.pdf&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give some suggestions that how to recover the problem or why I am facing this kind of problem. Why hydraulic file can not be created and opened ?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks .&lt;/P&gt;&lt;P&gt;Shekh Shamsuzzaman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EpaNet2.dll gives 305 error code from arcmap addin application&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 May 2015 09:59:39 GMT</pubDate>
    <dc:creator>ShekhShamsuzzaman</dc:creator>
    <dc:date>2015-05-21T09:59:39Z</dc:date>
    <item>
      <title>EPANet dll with ArcMap Addin not working</title>
      <link>https://community.esri.com/t5/developers-questions/epanet-dll-with-arcmap-addin-not-working/m-p/454645#M3051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an input file(.inp) of EpaNet project. I want to use this .inp file to run the project with the help of epanet2.dll from my arcmap addin button.&lt;/P&gt;&lt;P&gt;In EPANET project , there is a portion that is running hydraulic simulation. This hydraulic simulation run by calling &amp;lt;ENsolveH()&amp;gt;&amp;nbsp; or &amp;lt;ENepanet(inputfile,reportFile,outputFile)&amp;gt;method of epanet2.dll . When running hydraulic simulation , a temporary binary file(HYD) may be created. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I run the simulation in a console application of c# project , this is run successfully. But when I call the running method from a simple addin button application(show message "hello world") of acrmap, an error gives from running method (ENsolveH/ENepanet)&amp;nbsp; . This error gives a code of 305 that indicate "Cannot open hydraulics file" according to documenteation.&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://iridia.ulb.ac.be/~manuel/doc/toolkit_help.pdf" rel="nofollow" target="_blank"&gt;http://iridia.ulb.ac.be/~manuel/doc/toolkit_help.pdf&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give some suggestions that how to recover the problem or why I am facing this kind of problem. Why hydraulic file can not be created and opened ?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks .&lt;/P&gt;&lt;P&gt;Shekh Shamsuzzaman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EpaNet2.dll gives 305 error code from arcmap addin application&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 09:59:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/epanet-dll-with-arcmap-addin-not-working/m-p/454645#M3051</guid>
      <dc:creator>ShekhShamsuzzaman</dc:creator>
      <dc:date>2015-05-21T09:59:39Z</dc:date>
    </item>
  </channel>
</rss>

