How to sort items in combobox?
Hi Everyone, I want to ask spesific question about sorting items in combobox from A to Z. How can i perform sorting them? If i cant sort them A to Z there is meaningless about the query that will be...
View Articleidentify tool in c#
I am using ARCObject SDK 10.1. In one of my application i want that when user clicks map layer than i can read the data assoicated to the attribute table of the layer at the clicked point. I know...
View Articlebuffer in ARCObject
I am using ARCobject SDK 10.1 under visual studio Csharp. In one of my application i want to apply the buffer operation on an layer. I have used the buffer operation in ARCMap tool box but do nt know...
View Articlespatial query based on mouse click event
Please look the code , I wish to access the feature at the mouse coordinate on mouse click event. however my code below return all the records rather than a single point. any guess what is wrong....
View ArticleWorkspace Extension to make table invisible to user
Hello! We have growing need to implement a scenario where user can't see specific table in a workspace, but - via our Arcmap class library - is able to insert rows to the table; that is done...
View ArticleGetting Access to Feature Classes in File GDB without a Dataset?
I've got a script that works with many different forms of File GDBs. Sometimes they have datasets and sometimes they dont. For the ones that have datasets, I have the working code: Code: C#...
View Articleintersection points of polygon and polilyne
Sorry for my bad English. How I can to get intersection points of polygon and polilyne? I tried to use ITopologicalOperator.intersect and ITopologicalOperator2.IntersectMultidimension methods, but the...
View Article5 Combobox to Select By Attributes From Joined Table
Hi Experts, I created 6 combobox including attributes of joined data. I want to make a query like "select by attribute" by using the comboboxes. I used many of the sample codes but I got some errors....
View ArticleAdd-In says "Missing" - DLL did not install
Hello all, When my 10.1 Add-In is installed on a client's machine, it does not show up properly. It says "Missing" on the toolbar and clicking the button does absolutely nothing. When I check the...
View ArticleNeed to find overlapping or intersecting polygons with in same layer -...
I have a polygon feature classs with millions of records, I need to find list of overlapping or intesecting polygons in the same feature class, how to do it efficiently, I need a code snippet for the...
View ArticleProcess IFeatureCursor results many times without re-applying query/filter
I have a spatial filter performing as I want it to, returning me an IFeatureCursor object that I can loop through. I want to be able to loop through the IFeatureCursor object more than once without...
View ArticleConversion error : esriNauticalMiles converts to 1853 meters
hi everyone Using the ArcObject/C++ it seems as if IUnitConverter converts 1 esriNauticalMiles to 1853 meters. The international NM is 1852. However the imperial NM is 1853. Googling around it seems as...
View ArticleException RPC_E_SERVERFAULT(0x80010105) : While adding ArcGIS Map Service...
Hi all, I am trying to add ArcGIS Map Service into ArcDesktop.I have implemented the code on ESRI command and is working fine. Same code is not working on below scenarios, 1. Receiving data through TCP...
View ArticleIEditLayers.IsEditable true when not editing
Just noticed an issue with one of my tools in Arc10 where it checks a layer to see if it is editable and getting a true result even though I'm not editing any data. This same tool worked for years in...
View ArticleUse esriArcMapUI.MxSelectionMenu in ArcEngine App
I am creating an app for non gis users. Clerks in the Planning and Zoning Dept. Part of the requirements is to be able to select lots of parcels that define an overall polygon that will be used as a...
View ArticleError Compiling ArcObjects Sample
I installed the ArcObjects SDK .NET (10.1) on my system. When I try to build the solution for the NetSimpleRESTSOE project, I get this error: "Could not load file or assembly 'ESRI.ArcGIS.SOESupport,...
View ArticleRefer to the document/application in an add-in?
Is it possible to refer to the Application/document in an add-in? I've successfully attached a dockable window to a button - now what do I do? It doesn't seem to like: Dim pMxDoc As IMxDocument = new...
View ArticleZoom to layer defined by CreateSelectionLayer
Greetings, I have several layers that have been created from a non-displayed "master layer" using IFeatureLayerDefinition2.CreateSelectionLayer to cut down on the number of feature classes stored in a...
View ArticleAutomationException:Item Not Found in 'Esri.GeoDatabase'.
Hi, Can any one help me in solving this exception with ArcObjects java. The following is the Automation Exception I am getting when I am trying to open the feature dataset through the IFeatureWorkSpace...
View ArticleHow to determine where an IDockableWindow is docked?
I know I can cast a dockablewindow to IWindowPosition and get it's State to see if it's floating (esriDockFlags.esriDockFloat) or docked (esriWindowState.esriWSNormal) but how do you determine where...
View Article