<?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 Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/implement-icommand-in-vb-net/m-p/1300534#M6648</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, 18 Jun 2023 04:35:30 GMT</pubDate>
    <dc:creator>Suman_Kar</dc:creator>
    <dc:date>2023-06-18T04:35:30Z</dc:date>
    <item>
      <title>Implement Icommand in VB.net</title>
      <link>https://community.esri.com/t5/developers-questions/implement-icommand-in-vb-net/m-p/1300534#M6648</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, 18 Jun 2023 04:35:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/implement-icommand-in-vb-net/m-p/1300534#M6648</guid>
      <dc:creator>Suman_Kar</dc:creator>
      <dc:date>2023-06-18T04:35:30Z</dc:date>
    </item>
  </channel>
</rss>

