AnsweredAssumed Answered

Find ExtensionByCLSID for Add-in from IComponent(not Add-in) by ProgID

Question asked by mik1971 on Apr 9, 2018
Latest reply on Aug 15, 2018 by mik1971

Hi,

 

We need to call an Add-in from other component (other solution) by ProgID like

pCommandBars.Find("OtherProject.UIToolControl1AddIn_class_name")

or

UID commandID = new UIDClass();
commandID.Value = "ArcMapAddin1.Button1"; // we tried "ArcMapAddin1_Button1" with no success
//ICommandItem comm = m_application.Document.CommandBars.Find(commandID); // old stuff worked for ICommand to find other ICommand
var comm2 = m_application.FindExtensionByCLSID(commandID);

Is it possible?
We try and "Find" returns null.

Outcomes