<?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 Autoload AddIn Extension in ArcCatalog in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/autoload-addin-extension-in-arccatalog/m-p/688045#M18504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have recently upgraded to ArcGIS10 &amp;amp; am using VS2010 with VB.Net and ArcObjects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to port my VBA customisations across to the VB.Net environment. I have a simple utility which unloads any loaded extensions (3D, Spatial, Network &amp;amp; Publisher) on shutdown of both ArcMap &amp;amp; ArcCatalog, so that at next startup they are switched off.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have successfully ported the ArcMap version, creating an add-in extension which autoloads &amp;amp; hooks into the IDocumentEvents.CloseDocument event to fire the script. However, I cannot get ArcCatalog to autoload &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;any&lt;/SPAN&gt;&lt;SPAN&gt; extension created as a Desktop AddIn Extension - i.e. not associated with any UI controls. The extension startup event stubs fail to fire, indicating that no autoload is taking place despite this being specified in the wizard &amp;amp; addin config XML - &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;autoload = "true".&lt;/SPAN&gt;&lt;SPAN&gt; For pure code-based extensions, there does not seem to be any other way of enabling them via the AddIn Manager, other than by auto-loading them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to avoid having to go the route of developing a fully managed extension for this simple task, which should be achievable using the Desktop AddIns.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Aug 2010 12:21:00 GMT</pubDate>
    <dc:creator>DaveMcPherson</dc:creator>
    <dc:date>2010-08-25T12:21:00Z</dc:date>
    <item>
      <title>Autoload AddIn Extension in ArcCatalog</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/autoload-addin-extension-in-arccatalog/m-p/688045#M18504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have recently upgraded to ArcGIS10 &amp;amp; am using VS2010 with VB.Net and ArcObjects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to port my VBA customisations across to the VB.Net environment. I have a simple utility which unloads any loaded extensions (3D, Spatial, Network &amp;amp; Publisher) on shutdown of both ArcMap &amp;amp; ArcCatalog, so that at next startup they are switched off.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have successfully ported the ArcMap version, creating an add-in extension which autoloads &amp;amp; hooks into the IDocumentEvents.CloseDocument event to fire the script. However, I cannot get ArcCatalog to autoload &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;any&lt;/SPAN&gt;&lt;SPAN&gt; extension created as a Desktop AddIn Extension - i.e. not associated with any UI controls. The extension startup event stubs fail to fire, indicating that no autoload is taking place despite this being specified in the wizard &amp;amp; addin config XML - &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;autoload = "true".&lt;/SPAN&gt;&lt;SPAN&gt; For pure code-based extensions, there does not seem to be any other way of enabling them via the AddIn Manager, other than by auto-loading them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to avoid having to go the route of developing a fully managed extension for this simple task, which should be achievable using the Desktop AddIns.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Aug 2010 12:21:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/autoload-addin-extension-in-arccatalog/m-p/688045#M18504</guid>
      <dc:creator>DaveMcPherson</dc:creator>
      <dc:date>2010-08-25T12:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Autoload AddIn Extension in ArcCatalog</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/autoload-addin-extension-in-arccatalog/m-p/688046#M18505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi dave&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;did you solve this issue?&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;george&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 09:59:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/autoload-addin-extension-in-arccatalog/m-p/688046#M18505</guid>
      <dc:creator>georgandersson</dc:creator>
      <dc:date>2011-05-02T09:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Autoload AddIn Extension in ArcCatalog</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/autoload-addin-extension-in-arccatalog/m-p/688047#M18506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi George&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, after upgrading to the ArcGIS10 SP1 release I had no more problems with this.&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;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 21:42:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/autoload-addin-extension-in-arccatalog/m-p/688047#M18506</guid>
      <dc:creator>DaveMcPherson</dc:creator>
      <dc:date>2011-05-02T21:42:46Z</dc:date>
    </item>
  </channel>
</rss>

