Solved! Go to Solution.
UID uid = new UIDClass(); uid.Value = "esriEditor.Editor"; IExtension Extension = ArcMap.Application.FindExtensionByCLSID(uid); IEditor m_editor = Extension as IEditor; IExtension Editor_Extension; UID attributeuID = new UIDClass(); attributeuID.Value = "esriEditor.AttrWindow"; Editor_Extension = m_editor.FindExtension(attributeuID) as IExtension;
So, am I suppose to try to find my custom editor extension in a similar manner ?
It seems to have worked, yes ... with my custom Editor Extension.
So, the conclusion is that you do need to 'find' this editor extension, by 'finding' it from the Editor Object then, not the Application Object ?
Also, earlier I did actually try something similar to what you provided .. but it didn't work ........ but I had been calling Editor.FindExtensionByCLSID rather than just Editor.FindExtension ?
So the method name is also different between Application Object and Editor Object ?
Anyways, thanks so much !
It appears to be working this way ... by getting reference to Editor Object and then using FindExtension.