Parameters for DeleteIdentical geoprocessing tool from vb.net
Hi all, I'm trying to run DeleteIdentical geoprocessing tool from a piece of VB.net code, but I just get an error message:Excepción del tipo 'System.Runtime.InteropServices.COMException' en...
View ArticleRefresh SQL Server Native Client after renaming a Field?
Hello, I renamed a Field of a FeatureClass in an ArcSDE with the IClassSchemaEdit4.AlterFieldName Method. This works fine, but as soon as I create a Cursor to iterate the FeatureClass I get an SQL...
View ArticleMysteriously empty polygons in 10.1
We're finally running 10.1 in our shop and one of my add-ins is behaving strangely and I can't quite track down the problem. The add-in takes some input (1+ geometries, strings, & numbers) and uses...
View ArticleGeoprocessor and Versioned Data
I'm trying to use the Append class on a versioned workspace and the Geoprocessor class throws an error: "Parameters are not valid. ERROR 000732: Target Dataset: Dataset \DBO.dataset\.DBO.featrueclass...
View ArticleProblem when I work whit FGDB raster (no whit Folder raster) why?
Hi i have one problem. I using code like this: Dim pOutputRaster As IRaster pOutputRaster = pReclass.Reclass(pLandCover, pReclassTable, "ID", "ID", "MANNING", True)...
View ArticleGlobeControl Layer Annotation
hi, I'm using globecontrol with bilboard layer, i'm trying to add an annotation to a layer, but does not appear, I see only a filled rectangle (the result in attach) this is my code: Private Sub...
View ArticleProblems creating an MXD thumbnail.
I would like to create a thumbnail for a map document, but I've run into problems. I've found two avenues of aproach, but neither works well. Method 1 opens the MXD with the MapDocumentClass and then...
View ArticleErrors when running Hillshade tool from within Visual Basic.Net code
Hi guys, This is my first attempt of trying to run a tool from within Visual Basic.Net code. I do not know whats wrong as when I tried to run it on ArcMap10, I got this error Unhandled exception has...
View Articlespatial difference between 2 polygon layers with VBA
Hi, I have 2 polygon layers. PolyOldLayer has some old data and based on the new records, PolyOldLayer had been edited and saved as polyNewLayer. I would like to have the count of all the polygons I...
View Article10.1 License Initializer crashes under Windows 2003
Hi Everyone, I just upgraded one of our servers from 10.0 to ArcGIS 10.1. I can load ArcMap and all the interactive tools, but the license initializer is crashing in my asp.net code. It works fine...
View ArticleReplicate Import Symbology Matching Dialog in ArcObjects?
In Arcmap I can render a layer with same symbolgy applied to different fields by way of re-importing the .lyr file and choosing a Value Field. How can replicate the functionality in ArcObjects?
View ArticleImport S-57 map with ArcObject SDK
Hello, I try to develop a desktop application with the ArcObject SDK and I would to import a map with the S-57 format but I don't find how do it. Is it possible? Best regards
View ArticlePossible bug: IRasterClassifyColorRampRenderer symbology vs break order
Hi everyone, I've written my own code to export a ClassBreaks XML file from a classified value raster layer in ArcMap (10.1), that actually also saves the color information and not just the break...
View ArticleCannot Delete Version
When I try to delete a version, even after stopping the edit operations, ArcObjects is telling the version is in use and it wont delete it. I tried setting all objects that are referenced by the...
View ArticleOpening KML File in active ArcMap Window
Hi, I'm writing a program which needs to interface with ArcMap, I need to import a KML file and typically I would run it just by calling ArcMap.exe <path to KML file> The problem is, this loads a...
View ArticleWhat is namespace that includes: esriGeoDatabase.Fields ?
Hi, Are there anyone know what is namespace that includes: esriGeoDatabase.Fields ? I try to use below namspace, but not successful: using ESRI.ArcGIS.Geodatabase; using ESRI.ArcGIS.DataSourcesFile;...
View ArticleArcObject SDK Vs ArcObject RunTime
Hello everybody, Hope you are fine, i'm new in programming using ArcObject. What i'm asking for is " What is the deference between the ArcObject SDK and the ArcObject Runtime ? or they are same ". it...
View ArticleAccess Arcmap From third party WPF application and send coordinates
Dear Readers, I'm quiet new to the ArcObject... And i need some help/ indication, my main issue is : I have an external WPF application (a video player exactely), and from that application i wanted to...
View ArticleTemporary vector layers
Is there a way of having temporary vector layers which are not persisted when ArcMap is closed down?. I usually create layers via the IFeatureWorkspace.CreateFeatureWorkspace interface which creates...
View Articleissue with getFields in arcobjects snippet
I'm trying to use the following snippet to acquire the field values of a feature in ArcMap, but I don't have the definition for getFields(recieve error). I've tried looking at the online help for...
View Article