Select Black Point Tool doesn't work in Windows MapControl
Hi forum I have a problem with MapControl object. I have developed an application with c# language and arcgis engine. I have imported a toolbar developed for ArcMap desktop in a MapControl but some...
View ArticleSelect Black Point Tool doesn't work in Windows MapControl
Hi forum I have a problem with MapControl object. I have developed an application with c# language and arcgis engine. I have imported a toolbar developed for ArcMap desktop in a MapControl but some...
View ArticleITableSelection in a map document
I have an add-in tool for arcmap that is basically a customized selection tool. I have it working just fine for feature class selections, but I cannot seem to get it to show the Table selections in the...
View ArticleGet full path of layer (including file name and extension) in c#
Hi, I have been struggling for a long time now trying to replicate the functionality of the python code: lyr.dataSource where lyr is a layer in the map. This returns something like:...
View ArticleHow to detect if a Map Service Layer is not connected to its datasource?
Hi All, I have an engine application that loads Map Service layers. The layers are connected to a SQL SDE Geodatabase. How can i detected that the data source for a layer (or sublayer) is no longer...
View ArticleProgrammatically adding TIN to ArcMap: layer slowly disappears??
Hi everyone, I'm programmatically adding a TIN from a file path to ArcMap 10.2. It's something I've done so many times before and it has always worked. It also works now, but there seems to be a...
View ArticleMultithreading for responsive WPF
I'm working on a VB.Net WPF Application using the ArcGIS SDK for version 10.1. I have a long running process working on our data, and I want to keep a responsive UI during this process in WPF. I seem...
View ArticleNeed to get addressabilty to the IApplication object
I'm working on a server component that is being run and tested in ArcMap as a tool. The code is running and we are getting results but not expected results. Part of the process creates a cost array...
View ArticleFinding the shortest path using ArcObjects - Geometric network
I am working with a Geometric Network, I would like to find the shortest path for two given points and get the path geometry. I know the Utility Network Analyst does this. but it only draw the path,...
View ArticleRunning python script from VB.net
I'm trying to implement the code in the following article: http://resources.arcgis.com/en/help/...0000m0s000000/ As the article recommends, I passed the following to the function: "python...
View ArticleArc 10.2.1 -- Geodata Service SOEs no longer supported?
I am in the process of rebuilding a 10.1.1 server object extension against the latest 10.2.1 assemblies, but it appears that Geodata Services may no longer be a service type that support SOEs....
View ArticleOpen Dgn file:Error HRESULT E_FAIL has been returned from a call to a COM...
Hi everyone, I am trying open and read Dgn file. But, I got the error when using below codes: Code: IWorkspaceFactory factory = new CadWorkspaceFactoryClass (); IWorkspace workspace =...
View ArticleLicens binding within IIS APPOOL
Hi, I am working on a REST service hosted by IIS server. In order to get access to arc objects i need to initialize AO and bind to license In order to bind to Server license I call: Code:...
View ArticleIMapCache Interface
I'm trying to find examples on how the IMapCache Interface works, but I can't seem to find much on that. I'm trying to build a tool in VB.NET that will always start ArcMap with the Auo-Cache on and set...
View ArticleVisual Studio SOE templates missing
I am using Visual Studio 2010 Express with ArcGIS 10.1, which is supposed to support the ArcObjects SDK. I can see all of the Desktop templates, but the "Server Object Extenstions" templates are empty...
View ArticleHow do I find if a line intersects a closed line (polygon)?
I have one closed Polyline: "rectangle" and an open Polyline: "line". Both Polylines may be Z aware. What is the best way to find if the "line" intersects the "rectangle" in the XY plane? That is I...
View Articlefacing issue in NA VRP C# code customization
I have downloaded Csharp sample code for VRP from SDk help I wanted to add just one extra parameter say(Cost) which has time unit and analyze the same network. Problem Faced : 1. When I tried adding...
View ArticleHow do I disable the "In order to use the Bing Services..." modal dialog box?
I have a utility which I have written against ArcObjects which scans various ArcGIS objects for GIS information and stashes the data for later reporting. This includes, among other things, a...
View ArticleIs there a way to obtain record set for dynamic legend?
As of ArcGIS destop 10.1 there is a legend option to "only show classes that are visible in the current map extent". This allows the legend on the layout to only show symbols for features that are...
View ArticleTop 10 reasons to switch to Java in the ESRI Add-in platform
Because one of you asked ... | | | read on.. | | | |10. You don't need ten reasons. 4. ArcObjects Java doesn't depend on a specific version of Eclipse.. ok. ok, unless you want to use that tired old...
View Article