I am a novice .NET programmer so I understand I may be overlooking something very simple, but I am having difficulty in accessing tools in the Business Analyst Toolbox.
I've tried to add a reference to the toolbox via the "Add a Geoprocessing Toolbox Reference", which I understand is for custom toolboxes. While other ESRI supplied toolboxes load without a problem, the Business Analyst Toolbox has several tools that serve up an "unhandled exception error" and then finally a "member names cannot be the same as their enclosing type" error. If I try to add as an ArcGIS reference there is not way to select BusinessAnalystTools from any of Desktop ArcCatalog, Desktop ArcCatalog Extension, Desktop ArcMap, Desktop ArcMap Extension, Desktop Extension, or Server (Core). If I try to add a reference via "Imports ESRI.ArcGIS.BusinessAnalystTools" -- I am notified by Visual Studio that it does not exist. Finally, I tried using the IGeoProcessor.AddToolbox Method which returned a runtime error " A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in ESRI.ArcGIS.Geoprocessor.dll.
So, I'm stumped.
If anyone can steer me in the right direction, many thanks in advance.
Steve
Steve Denowski,
Senior Analyst, GeoAnalytics, Inc.
Madison, WI.