Is there any way to tell if a map document is dirty?
I can set or clear the dirty flag on a document through the IDocumentDirty interface. But where can I read the dirty flag? I want to show a custom dialog prompting the user to save their map (before...
View ArticleEsri Customer Care Portal
If you have access to the Esri Customer Care Portal: https://customers.esri.com Then change the version to "All releases" and check to see if you see anything new.
View Articlehow to copy a feature class from sde to file geodatabase
I need to copy a feature class that participates in a geometric network from SDE into a file geodatabase. I do not want the objects related to the feature class to be copied. I also don't want to copy...
View ArticleArcGIS SOE on WMX Service
Can somebody help on SOE for Workflow Manager Service at the following path http://forums.arcgis.com/threads/85372-ArcGIS-SOE-on-WMX-Service
View ArticleWorking with the element after adding into PageLayout Control ?
Hi, I added text elements into the PageLayout Control (such as: "Hello world"), by using below statement: pGraphicsContainer.AddElement(pElement, 0); Then, I used the "select elements" arrow (on my...
View ArticleCreate IPolyline with two IPoints- 'Zero-Length polylines not allowed
I want to create a simple IPolyline with having two IPoints. But getting error: 'Zero-Length polylines not allowed.' Sample code is given below. private void CreateNewFeature(IFeatureWorkspace...
View ArticleTopology Toolbar with diferents behavior in arcobjects 10 and 10.1
In arcgis 10 when I open Topology ToolBar the button "Error Inspector" it's enabled with below code: Code: clsTopologyHandler pTopoHandler = new clsTopologyHandler(); if (!pTopoHandler.Validate(true))...
View Articledisable showing the attribute table in ArcGIS extension
I am building an ArcGIS extension on desktop 10.1 (not add-in, but old extension). I built some forms to edit some feature class, where I implement business rules. I want to force the user to edit the...
View ArticleArcObjects 10.0 client using ArcGIS Server 10.1 geoprocessing service
Hello, I have ArcGIS Server 10.1 and there is published geoprocessing service (with 2 input and 2 output parameters). Please, how i can use this service in ArcObjects 10.0 client application? Thanks...
View Articleprojecting ielement
this doesn't work: IElement e = (IElement)element; e.Geometry.Project(spatialReference); this works, but it doesn't reproject just assigns projection, but i need to reproject. IGraphicElement e =...
View ArticleVisual Studio 2010 and ArcObject SDK
Hello, I am an undergraduate IT graduate who then furthered his studies in Geography (hons). I would like to start developing some small-scale add-in programs for ArcGIS or Arcmap. However, I have...
View ArticleIGeometryCollection.AddGeometry - reusing Point reference
I am trying to create a large number (>10k) of convex hulls using ITopoOp.convexhull and each ConvexHull has more than 2000 points. I am using a Multipoint Geometry collection and adding 2000+...
View ArticleArcEngine license problem (Edit session)
I have a problem to start an edit session in a Engine standalone application. To make sure that the problem is not within my own code I created a new MapControlApplication with the VS2010 wizard and...
View Articlechecking exsiting file geodatabase.
I am using ARCObject SDK in visual studio 2010 and C#. I want to check if a file geodatabase exist in a given folder. i have sued following code to create a personal filegeodatabase or .gdb file .Here...
View ArticleGenerate Near Table Parameters
I am using VB.NET and the assembly access method to generate a near table as a component of a larger tool. When I pass both the near_table and near_features parameter the same FeatureLayer the tool...
View Articledisable CTRL+T in ArcGIS Desktop in Extension
am building an ARCGIS desktop Extension, with arcobjects .NET. I want to disable showing attribute table (because I want to force the editing through custom forms). So, I disable it from the context...
View ArticleAdding event handlers COM seperated from RCW
Hello Forum, I have this intermittent problem, (happens about 60% of the time.) I have an extension (not addin) where I listen for a start editing event In the start editing I start other events...
View ArticleExamples of Manipulating MXD
I am just starting off developing with the ArcObjects API (10.0 or 10.1) for Java, and would really like to find code samples of manipulating Map Documents and adding tables and graphics. This will be...
View ArticlePassing selection to SelectByLocation Tool
Hi, I need to run "Select By Location" tool for each of the polygon (ring) created by Service Area Network tool. I do not know how to pass the selected polygon to the tool. Please, any help would be...
View ArticleHow can I get the dynamic workspace of a MapServer
Is there a way I can get the information workspaces for dynamic layer of mapserver? e.g,the workspace id ,the workspace type and the connecting string. Thank you.
View Article