<?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 Implement iCommand in vb.net in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/implement-icommand-in-vb-net/m-p/1302827#M9974</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>Mon, 26 Jun 2023 03:56:45 GMT</pubDate>
    <dc:creator>Suman_Kar</dc:creator>
    <dc:date>2023-06-26T03:56:45Z</dc:date>
    <item>
      <title>Implement iCommand in vb.net</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/implement-icommand-in-vb-net/m-p/1302827#M9974</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>Mon, 26 Jun 2023 03:56:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/implement-icommand-in-vb-net/m-p/1302827#M9974</guid>
      <dc:creator>Suman_Kar</dc:creator>
      <dc:date>2023-06-26T03:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Implement iCommand in vb.net</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/implement-icommand-in-vb-net/m-p/1303181#M9981</link>
      <description>&lt;P&gt;This is an ArcObjects question.&amp;nbsp; You can try to ask your question here:&amp;nbsp;&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcobjects-sdk-questions/bd-p/arcobjects-sdk-questions" target="_blank"&gt;ArcObjects SDK Questions - Esri Community&lt;/A&gt;&amp;nbsp; &amp;nbsp;I hope you are aware of the ArcObjects SDK life cycle:&amp;nbsp;&lt;A href="https://support.esri.com/en-us/products/arcobjects-sdk/life-cycle" target="_blank"&gt;ArcGIS Objects Life Cycle | Esri Support&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and the fact that &lt;EM&gt;"ArcGIS 10.9.1 is the last release to ship ArcObjects SDK for the Microsoft .NET Framework."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 21:44:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/implement-icommand-in-vb-net/m-p/1303181#M9981</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2023-06-26T21:44:08Z</dc:date>
    </item>
  </channel>
</rss>

