<?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 Re: Desktop ArcObjects - Dispose VB.NET forms upon ArcMap close in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/desktop-arcobjects-dispose-vb-net-forms-upon/m-p/531764#M14350</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How is it possible to close ArcMap when your form is modal.&amp;nbsp; I think your forms are non-modal.&amp;nbsp; Maybe it's a solution for your extension.&amp;nbsp; Put your form as modal. With this, users must close this form before close ArcMap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I think it's not what you want,&amp;nbsp; it's just another way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe you have a connection problem in your forms. which kind of connection you have in your forms (Oracle, PGDB, FGDB others..).&amp;nbsp; That could be another problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Aug 2010 16:45:09 GMT</pubDate>
    <dc:creator>vincentLahaye</dc:creator>
    <dc:date>2010-08-06T16:45:09Z</dc:date>
    <item>
      <title>Desktop ArcObjects - Dispose VB.NET forms upon ArcMap close</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/desktop-arcobjects-dispose-vb-net-forms-upon/m-p/531761#M14347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there, the custom application (compile as DLL) has multiple forms open and close. When the forms are open and we close ArcMap ... it gives memory leak errors. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some forums mention using IDllThreadManager? Theres a IDllThreadManager.OnShutdown method - terminate any threads that were created by the components in dll. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also there's some that suggest it could be COM objects are not released after the VB forms are disposed - &lt;/SPAN&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgisdesktop/dotnet/ESRI.ArcGIS.ADF/apiref_01/ESRI.ArcGIS.ADF.COMSupport.AOUninitialize.html"&gt;http://resources.esri.com/help/9.3/arcgisdesktop/dotnet/ESRI.ArcGIS.ADF/apiref_01/ESRI.ArcGIS.ADF.COMSupport.AOUninitialize.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone has ideas how to solve this? Any help or sample code is much appreciate. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 14:26:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/desktop-arcobjects-dispose-vb-net-forms-upon/m-p/531761#M14347</guid>
      <dc:creator>tonydavid</dc:creator>
      <dc:date>2010-08-06T14:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Desktop ArcObjects - Dispose VB.NET forms upon ArcMap close</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/desktop-arcobjects-dispose-vb-net-forms-upon/m-p/531762#M14348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;what's your error message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;not easy to find your error like this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i bet on a bad com release, but where?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;vincent&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 15:23:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/desktop-arcobjects-dispose-vb-net-forms-upon/m-p/531762#M14348</guid>
      <dc:creator>vincentLahaye</dc:creator>
      <dc:date>2010-08-06T15:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Desktop ArcObjects - Dispose VB.NET forms upon ArcMap close</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/desktop-arcobjects-dispose-vb-net-forms-upon/m-p/531763#M14349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK. Sorry forgot to mention where it happens ... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Only happens when customised form is left open / modal and click close armap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The DLL implements IExtension Shutdown. Error in code where loop all the open forms and close. This Error is the usual fatal error (send message to ESRI dialog box) and ArcMap crashes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 16:08:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/desktop-arcobjects-dispose-vb-net-forms-upon/m-p/531763#M14349</guid>
      <dc:creator>tonydavid</dc:creator>
      <dc:date>2010-08-06T16:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Desktop ArcObjects - Dispose VB.NET forms upon ArcMap close</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/desktop-arcobjects-dispose-vb-net-forms-upon/m-p/531764#M14350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How is it possible to close ArcMap when your form is modal.&amp;nbsp; I think your forms are non-modal.&amp;nbsp; Maybe it's a solution for your extension.&amp;nbsp; Put your form as modal. With this, users must close this form before close ArcMap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I think it's not what you want,&amp;nbsp; it's just another way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe you have a connection problem in your forms. which kind of connection you have in your forms (Oracle, PGDB, FGDB others..).&amp;nbsp; That could be another problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 16:45:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/desktop-arcobjects-dispose-vb-net-forms-upon/m-p/531764#M14350</guid>
      <dc:creator>vincentLahaye</dc:creator>
      <dc:date>2010-08-06T16:45:09Z</dc:date>
    </item>
  </channel>
</rss>

