Quantcast
Channel: Forums - ArcObjects SDKs
Browsing all 1374 articles
Browse latest View live
↧

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 Article


DataServerManagerAdmin.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 Article


migrating 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 Article

Snap 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 Article

Getting 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 Article


Altering 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 Article

ArcGIS 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 Article

CreateDynamicGlyphFromFile 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 Article


Exception 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 Article


arcobjects 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 Article

Image may be NSFW.
Clik here to view.

Problem 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 Article

ConstructBuffersByDistances2

Does anyone have a working example of the use of IBufferConstruction.ConstructBuffersByDistances2?

View Article

MultiPatch 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 Article


HOW 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 Article

Image may be NSFW.
Clik here to view.

Element 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 Article


ClassBreaksRenderer 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 Article

arcobjects 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 Article


Customize 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 Article

Image may be NSFW.
Clik here to view.

Use 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 Article

C# 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
Browsing all 1374 articles
Browse latest View live