AnsweredAssumed Answered

Can't get NetworkAnalystExtension

Question asked by geonetadmin on Aug 6, 2010
Latest reply on Aug 9, 2010 by geonetadmin
Original User: kivela

I need to get a hold of NetworkAnalystExtension but for some reason FindExtension always returns null.

                IExtensionManager extMgr = GetExtensionManager(); //note: extMgr is returned OK
                UID uid = new UIDClass();
                uid.Value = "esriNetworkAnalystUI.NetworkAnalystExtension";
                IExtension ext = extMgr.FindExtension(uid);

I also tried using the GUID in uid.Value but got the same null return.

Also tried using IApplication, but again it just returns null.

Any ideas?  Thanks.