<?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: How to call the Add Data button in ArcMap in AddIn in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-call-the-add-data-button-in-arcmap-in-addin/m-p/191770#M4978</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's one way to do this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Dim pCmdItem As ESRI.ArcGIS.Framework.ICommandItem Dim pUID As New ESRI.ArcGIS.esriSystem.UID pUID.Value = "esriArcMapUI.AddDataCommand" pCmdItem = My.ArcMap.Application.Document.CommandBars.Find(pUID) pCmdItem.Execute()&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or you can use the &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/#/IGxDialog_Interface/0015000000qv000000/" rel="nofollow" target="_blank"&gt;IGXDialog&lt;/A&gt;&lt;SPAN&gt; if you'd like more control over the datasets you'd like to add. &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/58828-ArcToolbox-like-User-Control-to-select-feature-layer?p=202650&amp;amp;viewfull=1#post202650" rel="nofollow" target="_blank"&gt;Here's&lt;/A&gt;&lt;SPAN&gt; one example of how to use it&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Nov 2012 20:27:47 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2012-11-01T20:27:47Z</dc:date>
    <item>
      <title>How to call the Add Data button in ArcMap in AddIn</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-call-the-add-data-button-in-arcmap-in-addin/m-p/191769#M4977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know in Engine you can use the AddDataCommand. Can you somehow do the same in ArcMap AddIn?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 19:29:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-call-the-add-data-button-in-arcmap-in-addin/m-p/191769#M4977</guid>
      <dc:creator>YimanSong</dc:creator>
      <dc:date>2012-11-01T19:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to call the Add Data button in ArcMap in AddIn</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-call-the-add-data-button-in-arcmap-in-addin/m-p/191770#M4978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's one way to do this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Dim pCmdItem As ESRI.ArcGIS.Framework.ICommandItem Dim pUID As New ESRI.ArcGIS.esriSystem.UID pUID.Value = "esriArcMapUI.AddDataCommand" pCmdItem = My.ArcMap.Application.Document.CommandBars.Find(pUID) pCmdItem.Execute()&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or you can use the &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/#/IGxDialog_Interface/0015000000qv000000/" rel="nofollow" target="_blank"&gt;IGXDialog&lt;/A&gt;&lt;SPAN&gt; if you'd like more control over the datasets you'd like to add. &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/58828-ArcToolbox-like-User-Control-to-select-feature-layer?p=202650&amp;amp;viewfull=1#post202650" rel="nofollow" target="_blank"&gt;Here's&lt;/A&gt;&lt;SPAN&gt; one example of how to use it&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 20:27:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-call-the-add-data-button-in-arcmap-in-addin/m-p/191770#M4978</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2012-11-01T20:27:47Z</dc:date>
    </item>
  </channel>
</rss>

