Dim extensionID As New UIDClass() extensionID.Value = "Id_of_Extension" Dim pExtension As IExtension = pApplication.FindExtensionByCLSID(extensionID)
using ESRI.ArcGIS.Desktop.AddIns; // Enable the save button SaveEditingButton saveButton = ddIn.FromID<SaveEditingButton>(ThisAddIn.IDs.RasterEditor_EditorMenu_Edition_SaveEditingButton); saveButton.IsEnabled = true;