<?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: Detecting ArcGis Application Closure in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/detecting-arcgis-application-closure/m-p/372651#M9772</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you create an extension then you can implement IExtension.Shutdown.&amp;nbsp; Extensions are only unloaded when the application closes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jun 2013 16:11:59 GMT</pubDate>
    <dc:creator>NeilClemmons</dc:creator>
    <dc:date>2013-06-18T16:11:59Z</dc:date>
    <item>
      <title>Detecting ArcGis Application Closure</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/detecting-arcgis-application-closure/m-p/372650#M9771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would like to detect the closure of ArcGIS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using VB.Net, ArcGIS 10.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've succussfully wired an event for the CloseDocument Event, and it does fire when ArcGIS closes, but it also fires when a new document is created (without ArcGIS being closed), which isn't what I need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I haven't been able to identify an event for Application closure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 14:35:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/detecting-arcgis-application-closure/m-p/372650#M9771</guid>
      <dc:creator>ChrisMatthews</dc:creator>
      <dc:date>2013-06-18T14:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting ArcGis Application Closure</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/detecting-arcgis-application-closure/m-p/372651#M9772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you create an extension then you can implement IExtension.Shutdown.&amp;nbsp; Extensions are only unloaded when the application closes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 16:11:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/detecting-arcgis-application-closure/m-p/372651#M9772</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2013-06-18T16:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting ArcGis Application Closure</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/detecting-arcgis-application-closure/m-p/372652#M9773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Neil&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using an Extension so this solution is an easy one to implement, and a quick test has given me good results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Annoyingly, I had looked at this solution and discounted it (for a reason that I can't remember now).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 09:55:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/detecting-arcgis-application-closure/m-p/372652#M9773</guid>
      <dc:creator>ChrisMatthews</dc:creator>
      <dc:date>2013-06-19T09:55:22Z</dc:date>
    </item>
  </channel>
</rss>

