<?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: Base Command added more than once into ArcMap in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/base-command-added-more-than-once-into-arcmap/m-p/288694#M7500</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi there,&lt;BR /&gt;&lt;BR /&gt;I am trying to make a Base Command with VB.net 2005 for ArcMap 9.2. What I did was:&lt;BR /&gt;&lt;BR /&gt;1. added a Base Command from ArcGis templetes into my project.&lt;BR /&gt;&lt;BR /&gt;2. changed all the values below to "test"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyBase.m_category = "test"&amp;nbsp; 'localizable text &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyBase.m_caption = "test"&amp;nbsp;&amp;nbsp; 'localizable text &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyBase.m_message = "test"&amp;nbsp;&amp;nbsp; 'localizable text &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyBase.m_toolTip = "test" 'localizable text &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyBase.m_name = "test"&amp;nbsp; 'unique id, non-localizable (e.g. "MyCategory_ArcMapCommand")&lt;BR /&gt;3.run the project.&lt;BR /&gt;&lt;BR /&gt;By the way, I did not change any parts of the codes.&lt;BR /&gt;&lt;BR /&gt;But there were 3 same "test" commands in ArcMap. In other words, after running the project, I went to ArcMap, and then I went to Tools-&amp;gt;Customize, and then I went "Command" tab, and then I found 3"test" commands there, they were totally the same.&lt;BR /&gt;&lt;BR /&gt;Hope you guys can understand me.&lt;BR /&gt;&lt;BR /&gt;Thanks for any help.&lt;BR /&gt;&lt;BR /&gt;P.S. &lt;BR /&gt;I just tried to delete the "ESRI" key in the regestry. But there will be one more the same command in ArcMap after I delete the key in the regestry. Say, I delete the key 2 times in the regestry then there will be 3 same commands showing in ArcMap.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do not use test ..use some other word... and build the application and try again...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or you can debug the application so that .. you will understand which component is basically adding to arcmap...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jan 2011 03:58:06 GMT</pubDate>
    <dc:creator>Venkata_RaoTammineni</dc:creator>
    <dc:date>2011-01-19T03:58:06Z</dc:date>
    <item>
      <title>Base Command added more than once into ArcMap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/base-command-added-more-than-once-into-arcmap/m-p/288693#M7499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to make a Base Command with VB.net 2005 for ArcMap 9.2. What I did was:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. added a Base Command from ArcGis templetes into my project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. changed all the values below to "test"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyBase.m_category = "test"&amp;nbsp; 'localizable text &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyBase.m_caption = "test"&amp;nbsp;&amp;nbsp; 'localizable text &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyBase.m_message = "test"&amp;nbsp;&amp;nbsp; 'localizable text &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyBase.m_toolTip = "test" 'localizable text &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyBase.m_name = "test"&amp;nbsp; 'unique id, non-localizable (e.g. "MyCategory_ArcMapCommand")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3.run the project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, I did not change any parts of the codes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But there were 3 same "test" commands in ArcMap. In other words, after running the project, I went to ArcMap, and then I went to Tools-&amp;gt;Customize, and then I went "Command" tab, and then I found 3"test" commands there, they were totally the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope you guys can understand me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just tried to delete the "ESRI" key in the regestry. But there will be one more the same command in ArcMap after I delete the key in the regestry. Say, I delete the key 2 times in the regestry then there will be 3 same commands showing in ArcMap.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 23:43:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/base-command-added-more-than-once-into-arcmap/m-p/288693#M7499</guid>
      <dc:creator>HailongLi</dc:creator>
      <dc:date>2011-01-18T23:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Base Command added more than once into ArcMap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/base-command-added-more-than-once-into-arcmap/m-p/288694#M7500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi there,&lt;BR /&gt;&lt;BR /&gt;I am trying to make a Base Command with VB.net 2005 for ArcMap 9.2. What I did was:&lt;BR /&gt;&lt;BR /&gt;1. added a Base Command from ArcGis templetes into my project.&lt;BR /&gt;&lt;BR /&gt;2. changed all the values below to "test"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyBase.m_category = "test"&amp;nbsp; 'localizable text &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyBase.m_caption = "test"&amp;nbsp;&amp;nbsp; 'localizable text &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyBase.m_message = "test"&amp;nbsp;&amp;nbsp; 'localizable text &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyBase.m_toolTip = "test" 'localizable text &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyBase.m_name = "test"&amp;nbsp; 'unique id, non-localizable (e.g. "MyCategory_ArcMapCommand")&lt;BR /&gt;3.run the project.&lt;BR /&gt;&lt;BR /&gt;By the way, I did not change any parts of the codes.&lt;BR /&gt;&lt;BR /&gt;But there were 3 same "test" commands in ArcMap. In other words, after running the project, I went to ArcMap, and then I went to Tools-&amp;gt;Customize, and then I went "Command" tab, and then I found 3"test" commands there, they were totally the same.&lt;BR /&gt;&lt;BR /&gt;Hope you guys can understand me.&lt;BR /&gt;&lt;BR /&gt;Thanks for any help.&lt;BR /&gt;&lt;BR /&gt;P.S. &lt;BR /&gt;I just tried to delete the "ESRI" key in the regestry. But there will be one more the same command in ArcMap after I delete the key in the regestry. Say, I delete the key 2 times in the regestry then there will be 3 same commands showing in ArcMap.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do not use test ..use some other word... and build the application and try again...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or you can debug the application so that .. you will understand which component is basically adding to arcmap...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 03:58:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/base-command-added-more-than-once-into-arcmap/m-p/288694#M7500</guid>
      <dc:creator>Venkata_RaoTammineni</dc:creator>
      <dc:date>2011-01-19T03:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Base Command added more than once into ArcMap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/base-command-added-more-than-once-into-arcmap/m-p/288695#M7501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Venkat,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks so much for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried different names, there were still multiple occurences of the command button I made. In fact, not only the command button but also the base tool and others.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Each time after I delete the key in registry, there will be one more same command button showing in ArcMap.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 04:35:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/base-command-added-more-than-once-into-arcmap/m-p/288695#M7501</guid>
      <dc:creator>HailongLi</dc:creator>
      <dc:date>2011-01-19T04:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Base Command added more than once into ArcMap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/base-command-added-more-than-once-into-arcmap/m-p/288696#M7502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Venkat,&lt;BR /&gt;&lt;BR /&gt;Thanks so much for your reply.&lt;BR /&gt;&lt;BR /&gt;I have tried different names, there were still multiple occurences of the command button I made. In fact, not only the command button but also the base tool and others.&lt;BR /&gt;&lt;BR /&gt;Each time after I delete the key in registry, there will be one more same command button showing in ArcMap.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;try to debug it ?.. add component and mostly as per you 2 component suppose to add right ?...then put debug point in your project and click one component and see how it goes...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 04:38:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/base-command-added-more-than-once-into-arcmap/m-p/288696#M7502</guid>
      <dc:creator>Venkata_RaoTammineni</dc:creator>
      <dc:date>2011-01-19T04:38:56Z</dc:date>
    </item>
  </channel>
</rss>

