How to set displayFieldName of GP-Service in C#?
I am developing a GP-Service with C#. The output is a feature set containing some attribute values. I want to determine the primary display field, which is contained in the output parameter (6th line,...
View ArticlePhantom snap tip that stays after mouse cursor moves away.
Hi Everybody: I am trying to build a tool that uses the ArcGIS snapping. In general it works well, but there is a display issue that I don't know how to handle. In ArcMap I created a context menu...
View ArticleManaging of FILE Geodatabase - basics
Hi, First off all I’m not programmer so it’s difficult for me to explain my tasks. I’ve done my first customization for ArcGIS Desktop in VB.NET and now I need to connect variables (non-spatial) with a...
View ArticleCatch add element to graphics container event
Hi All, Attempting to do something when a users adds a marker graphic to a map. Using Ver10 SDK and visual studio 200 to create an add-in. This is code so far Private m_graphicscontainerelementadded As...
View ArticleArcGis 10.0 : Modify mosaic rule
I work with ArcGis engine 10.0. I need to programmatically change the mosaic rule for my mosaic layer. I can use the IMosaicRule Interface, but how can i get the mosaic rule from the mosaic layer ? The...
View ArticleBlock Toolbar choice programmatically in ArcMap 10.1
With an extension I can block ArcMap's Customize menu using following code line: > ArcMap.Application.LockCustomization("password"); But, it makes no sense since by right-click on Toolbar docking...
View Article10.2 Defense Solutions
Where is com.esri.arcgis.defensesolutions.* disappeared to? We're attempting to migrate from 10.1 to 10.2 (ArcEngine), however there is no Military Analyst extension and apparently Military Analyst and...
View Articlehow to set attributes on a polyline
here is what I am trying to achieve: We have a polygon area that will delay a ship moving through that area for a period of time. I need to apply this to our hydrography map. How we are doing this:...
View ArticleArcGIS Engine Dev Kit 64-bit ?????
Hi everyone, Do any of you know if there is a 64-bit version of the Dev Kit available in the latest release 10.2.1? I have an Engine app that utilizes SQL's RMO (replication) api and am running into...
View ArticleIfeaturelayer to Ifeatureclass
Hi, IMapDocument pmd = new MapDocumentClass(); if (pmd.get_IsMapDocument(@"F:/Projects/Inprogress.mxd")) { pmd.Open(@"F:/Projects/Inprogress.mxd", null); IMap pmap = pmd as IMap; pmap = pmd.get_Map(0);...
View ArticlePerformance in Writing to an Oracle SDE Instance
Hello – I’ve got a process that’s built in C# using ArcObjects v10.1 that reads data from a feature class in a source File Geodatabase, applies updates to attributes and sometimes the shape, and writes...
View ArticleAO VC++ Rutime Error
Hi, I am creating MFC application in visual studio 2010.I have inserted Map,License ActiveX controls on MFC dialog and i have generated wrappers from add variable.when i am build solution there are no...
View ArticleESRI.ArcGIS.AnalysisTools.MultipleRingBuffer
Ok... First off I am a first time user of forums EVER, so as you might imagine I have racked my brain to no end with not luck whatsoever. Also, I am not a very good programmer, just thought I should...
View ArticleHow to display PNG to container with transparent background ?
Hi, I'm trying to incorporate a PNG image to a container. This image has a transparent background but when I add it to the container it becomes white. Any idea what can do such thing ? My code is...
View Article"Edit and Continue" in ArcMap with Visual Studio 2012 not working
I have an extension that I would like to debug using "Edit and Continue" so that I don't have to get out of ArcMap to add a little code or to make changes. Unfortunately, my breakpoints aren't getting...
View ArticleSDK Question
I have a project involving an interface DLL that was developed using two files, sde80.lib and pe80.lib in Visual Studio 2005 with C++. The information I have indicates this was developed using the...
View ArticleLoad SpatialAnalyst in code
Does anyone have code showing how to check if SpatialAnalyst is loaded in ArcMap and if not, then to load it? I have code that needs to have SpatialAnalyst loaded in ArcMap. I've figured out how to...
View ArticleArcGIS10.0 desktop; 10.2 Feat Servcs in WFS/SAFE Interoperability reproject...
dear Readers, most of the users in the field are using ArcGIS 10.0 (Win 7 - mostly 64bit) and the central office servers are in version 10.2. Data served from the feature services from these servers...
View ArticleHow to remove a custom layer?
How is a custom layer supposed to be destructed? I have a custom layer that implements drawing by overriding IActiveViewEvents::AfterDraw. The problem is that sometimes when the custom layer is removed...
View ArticleUpdating feature's geometry ERRORS (10.2.0 - 10.2.1) ArcGIS Server, JAVA
Hello, I'm developing a SOE with JAVA. I have a featureclass which must be updated. I use the ITable.updateSearchedRows() method. I'm developing in 10.2.1 and all goes well. Now when I publish my SOE...
View Article