AnsweredAssumed Answered

Calling IExtension Custom Methods form External Solution

Question asked by geonetadmin on Mar 18, 2013
Latest reply on Mar 19, 2013 by geonetadmin
Original User: chytanyap

Please refer Below Attachements

1) Extension.doc(contains a class Which implements IExtension Properties and IExtension Members and Custom Defined Methods)
2)ExternalApplication.doc(Contains a form having a Button. My Requirement is ,On Button Click Event we should open ArcMap and Find ExtensionByName and with that we have to access all Custom Methods in that Extension using ArcObjects. But I Am Unable to Get Custom Methods Defined in that Extension.If We add Dll of that Extension class to this External Application we are not getting that Custom Methods.

Extension is enabling when ARCMap is opened but We are unable to call that Methods. We Need to pass some Parameters to that Custom Method in Extension from External Application.

I am getting Below Error when  I Build Extensal Application Solution

Error:'object' does not contain a definition for 'CreateWo' and no extension method 'CreateWo' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?

This is Very Challenging Task. We spent so much time to resolve this issue.. Still We Didn't get....

Please Suggest me the approach Programmatically.