Where are code galleries for ArcObjects for .NET
Hi I am browsing for code galleries for ArcObjects for .NET on this location http://resources.arcgis.com/gallery/...bjects-net-api But nothing there , and it says that all code are hosted in ArcGIS...
View ArticleDataServerManagerAdmin.CreateGeodatabase errors
When I create a geodatabase in Sql Server Express 2008 using the DataServerManagerAdmin.CreateGeodatabase method I get the following messages: OPEN: No such file or directory ERROR: Couldn't open...
View Articlemigrating to 10.1 - Error System.Runtime.InteropServices.COMException...
Hi, I'm trying to migrate code from arcgis 10.0 to 10.1 The last line of that code "pGp.Execute("Append_management", oParameters, Nothing)" generates a System.Runtime.InteropServices.COMException...
View ArticleSnap Points to Lines Based on Distance and Attributes Code help
I found this piece of code through my searches and need a few pointers on how to get this to work: Private Sub MovePoint() Dim pMxDoc As IMxDocument Set pMxDoc = ThisDocument...
View ArticleGetting the OID from a selected feature
I am trying to get the OID of the selected feature to display in textBox2. I am getting an error that says ArcGIS Desktop has encountered a serious application error and is unable to continue. It was...
View ArticleAltering compression of Geoprocessor output raster
I'm trying to implement LZW compression on TIFFs that are being written as part of a Geoprocessor execution that is implementing a RasterCalculator expression. I have (unsuccessfully) tried to alter...
View ArticleArcGIS Engine 10.1 - JAVA
Ultimate goal: To deploy an ArcGIS Engine sample in Linux machine. I am trying to run the ArcGIS Engine sample for Java. It was a success when i run it on Windows. But I have difficulties to run it on...
View ArticleCreateDynamicGlyphFromFile not working in 10.1 + SP1
Hi guys, With the ArcGIS Engine 10.1 + SP1, the IDynamicGlyphFactory::CreateDynamicGlyphFromFile does not work, so I cannot associate bmp symbols to my point features. I'm using the DynamicDisplay...
View ArticleException from IDataset.get_Workspace().
Hello, I have begun to work on a prototype of a plugin to ArcMap 10.1. It works on our computers and for some customers, but other customers get an exception. Exception message: Error HRESULT E_FAIL...
View Articlearcobjects update geometry Z values of line vertices with a given number
I am trying to develop arcgis 10.0 addin to update Z values of vertices of a selected line. Scenario: The tool scans all features in a given shape file and populates the list of features which has at...
View ArticleProblem using the CreateVersion on ASP.net
I'm migrating some code which works fine on Windows Forms, but now in ASP.net I'm getting an error, I'm creating a version from one that already exist, the error says "The application is not licensed...
View ArticleConstructBuffersByDistances2
Does anyone have a working example of the use of IBufferConstruction.ConstructBuffersByDistances2?
View ArticleMultiPatch Triangles
I have an ArcScene document which was created using an FME translation of an AutoCad 3D drawing. The arrangement of the geometries is awful - there are triangles which touch and are in the same plane...
View ArticleHOW TO: Implement Model View Controller in an ArcMap Tool Add-in - Java
This sample was intended to show how to implement the MVC pattern in an ArcMap add-in. If you like it, ok. If not, ok. Feel free to comment or nitpick it. Code: package com.domain.somename; import...
View ArticleElement border problem
I have a polygon element which is rasterized by using IGlobeGraphicsElementProperties asd2 = new GlobeGraphicsElementProperties(); asd2.DrapeElement = false; asd2.Rasterize = true; In the first picture...
View ArticleClassBreaksRenderer and save as layerfile
Hi all, I'm writing a class in c#, which gets data from a filegeodatabase, calculates an algorithmic color ramp, applies it to the class breaks renderer. The renderer is applied to the GeoFeatureLAyer:...
View Articlearcobjects update mdb file geometry
Hi, I have vb.net code that works fine and updates geometry of a polyline shapefile. What do I need to change/add to the code in order to perform similar operations on personal geodatabase *.mdb file?...
View ArticleCustomize attribute editor
Is there any way to add buttons or context menu choices to the feature tree part of the attribute editor window? I would like to (among other things) hide certain feature classes and expand others....
View ArticleUse intersect on one layer and find the duplicated geometries
Hi Friends, I want to use this intersect sample code of arcobject vba to catch duplicates in lines and polygons : http://edndoc.esri.com/arcobjects/9....ct_Example.htm 1:The problem is that when I...
View ArticleC# Create a Service in an Existing Folder
I am trying to create a service in a folder called Mobile_Services. When I publish a map using ArcMap or ArcCatalog I am able to select an Existing folder called "Mobile_Services". But when I use the...
View Article