<?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: Implement Icommand in VB.net in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/implement-icommand-in-vb-net/m-p/1306526#M20592</link>
    <description>&lt;P&gt;This looks like an older method of adding commands.&amp;nbsp; I recommend using Add-Ins.&amp;nbsp; ESRI has a walk-through&amp;nbsp;&lt;A title="Addins Walkthrough." href="https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#CustomizingArcGISDesktopUsingAdd-Ins.htm" target="_self"&gt;Here&lt;/A&gt;&amp;nbsp;.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brent Hoskisson&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jul 2023 14:19:45 GMT</pubDate>
    <dc:creator>BrentHoskisson</dc:creator>
    <dc:date>2023-07-07T14:19:45Z</dc:date>
    <item>
      <title>Implement Icommand in VB.net</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/implement-icommand-in-vb-net/m-p/1305166#M20591</link>
      <description>&lt;P&gt;I want to implement&amp;nbsp;Icommand in VB.net. After build the dll file when I try to load this dll file in Arcmap 10.8 then it shows that can't load type library from specified file. I have used below code for implement this dll file. Please help on this&lt;/P&gt;&lt;P&gt;Imports ESRI.ArcGIS.SystemUI&lt;/P&gt;&lt;P&gt;Public Class Class1&lt;/P&gt;&lt;P&gt;Implements ESRI.ArcGIS.SystemUI.ICommand&lt;/P&gt;&lt;P&gt;Public Sub OnCreate(Hook As Object) Implements ICommand.OnCreate&lt;BR /&gt;m_pApp = Hook&lt;BR /&gt;Throw New NotImplementedException()&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;Public Sub OnClick() Implements ICommand.OnClick&lt;BR /&gt;Throw New NotImplementedException()&lt;BR /&gt;Dim MyForm As New Form1&lt;BR /&gt;MyForm.Show()&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;Public ReadOnly Property Enabled As Boolean Implements ICommand.Enabled&lt;BR /&gt;Get&lt;BR /&gt;Enabled = True&lt;BR /&gt;Throw New NotImplementedException()&lt;/P&gt;&lt;P&gt;End Get&lt;BR /&gt;End Property&lt;/P&gt;&lt;P&gt;Public ReadOnly Property Checked As Boolean Implements ICommand.Checked&lt;BR /&gt;Get&lt;BR /&gt;Throw New NotImplementedException()&lt;BR /&gt;End Get&lt;BR /&gt;End Property&lt;/P&gt;&lt;P&gt;Public ReadOnly Property Name As String Implements ICommand.Name&lt;BR /&gt;Get&lt;BR /&gt;Name = "Merge Geodatabase V2.0"&lt;BR /&gt;Throw New NotImplementedException()&lt;/P&gt;&lt;P&gt;End Get&lt;BR /&gt;End Property&lt;/P&gt;&lt;P&gt;Public ReadOnly Property Caption As String Implements ICommand.Caption&lt;BR /&gt;Get&lt;BR /&gt;Caption = "Merge Geodatabase V2.0"&lt;BR /&gt;Throw New NotImplementedException()&lt;/P&gt;&lt;P&gt;End Get&lt;BR /&gt;End Property&lt;/P&gt;&lt;P&gt;Public ReadOnly Property Tooltip As String Implements ICommand.Tooltip&lt;BR /&gt;Get&lt;BR /&gt;Tooltip = "Merge Geodatabase V2.0"&lt;BR /&gt;Throw New NotImplementedException()&lt;/P&gt;&lt;P&gt;End Get&lt;BR /&gt;End Property&lt;/P&gt;&lt;P&gt;Public ReadOnly Property Message As String Implements ICommand.Message&lt;BR /&gt;Get&lt;BR /&gt;Throw New NotImplementedException()&lt;BR /&gt;End Get&lt;BR /&gt;End Property&lt;/P&gt;&lt;P&gt;Public ReadOnly Property HelpFile As String Implements ICommand.HelpFile&lt;BR /&gt;Get&lt;BR /&gt;HelpFile = ""&lt;BR /&gt;HelpFile = "Merge.hlp"&lt;BR /&gt;Throw New NotImplementedException()&lt;/P&gt;&lt;P&gt;End Get&lt;BR /&gt;End Property&lt;/P&gt;&lt;P&gt;Public ReadOnly Property HelpContextID As Integer Implements ICommand.HelpContextID&lt;BR /&gt;Get&lt;BR /&gt;HelpContextID = 10001&lt;BR /&gt;Throw New NotImplementedException()&lt;/P&gt;&lt;P&gt;End Get&lt;BR /&gt;End Property&lt;/P&gt;&lt;P&gt;Public ReadOnly Property Bitmap As Integer Implements ICommand.Bitmap&lt;BR /&gt;Get&lt;BR /&gt;Throw New NotImplementedException()&lt;/P&gt;&lt;P&gt;End Get&lt;BR /&gt;End Property&lt;/P&gt;&lt;P&gt;Public ReadOnly Property Category As String Implements ICommand.Category&lt;BR /&gt;Get&lt;BR /&gt;Category = "Land_Suman"&lt;BR /&gt;Throw New NotImplementedException()&lt;/P&gt;&lt;P&gt;End Get&lt;BR /&gt;End Property&lt;BR /&gt;End Class&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jul 2023 03:50:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/implement-icommand-in-vb-net/m-p/1305166#M20591</guid>
      <dc:creator>Suman_Kar</dc:creator>
      <dc:date>2023-07-02T03:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Implement Icommand in VB.net</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/implement-icommand-in-vb-net/m-p/1306526#M20592</link>
      <description>&lt;P&gt;This looks like an older method of adding commands.&amp;nbsp; I recommend using Add-Ins.&amp;nbsp; ESRI has a walk-through&amp;nbsp;&lt;A title="Addins Walkthrough." href="https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#CustomizingArcGISDesktopUsingAdd-Ins.htm" target="_self"&gt;Here&lt;/A&gt;&amp;nbsp;.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brent Hoskisson&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 14:19:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/implement-icommand-in-vb-net/m-p/1306526#M20592</guid>
      <dc:creator>BrentHoskisson</dc:creator>
      <dc:date>2023-07-07T14:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Implement Icommand in VB.net</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/implement-icommand-in-vb-net/m-p/1316862#M20597</link>
      <description>&lt;P&gt;It's a long time since I've developed a DLL for ArcMap. AddIns are the much better way of developing and distributing customisation. That said I remember DLL's developed in .Net needed to be registered using RegASM.exe, have a look at the &lt;A href="https://community.esri.com/t5/arcobjects-sdk-questions/register-dll-with-esriregasm-exe/td-p/577827" target="_self"&gt;Q&amp;amp;A&lt;/A&gt; from 12 years ago...&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 13:56:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/implement-icommand-in-vb-net/m-p/1316862#M20597</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2023-08-09T13:56:08Z</dc:date>
    </item>
  </channel>
</rss>

