nmfadhil

ArcMap IDs for ArcGIS 10

Discussion created by nmfadhil on Jan 24, 2011
Latest reply on Sep 30, 2011 by stanshel
Hi!

I'm trying to build the ArcMap Add-Ins using VB.NET.

How to add command button "Undo", "Redo", and "Save" by using GUIDs? Is my code or GUIDs wrong?

Below is my XML code; it only display "AddData', "ClearSelectionCommand" and "SelectAllCommand" button on my custom (add-ins) toolbar.

          <Items>
            <Button refID="esriArcMapUI.ClearSelectionCommand" />
            <Button refID="esriArcMapUI.SelectAllCommand" />
            <!--File_AddData Command; refID can be GUID"-->
            <Button refID="{E1F29C6B-4E6B-11D2-AE2C-080009EC732A}" />
            <!--Edit_Undo Command; refID can be GUID"-->
            <Button refID="{FBF8C3FB-0480-11D2-8D21-080009EE4E51}"/>
            <!--Edit_Redo Command; refID can be GUID"-->
            <Button refID="{FBF8C3FB-0480-11D2-8D21-080009EE4E51}"/>
            <!--File_Save Command; refID can be GUID"-->
            <Button refID="{119591DB-0255-11D2-8D20-080009EE4E51}"/>
          </Items>

Outcomes