Refresh TOC
Hi, I am trying to refesh all the tab in the TOC. I think that this code works. However I have no idea of knowing if it actually work. Public Function contentsRefresh() Dim pmxdoc As IMxDocument Set...
View ArticleArcObject 9.3 to ArcObject 10
Hello! I wrote a software programm in VB.net and ArcView9.3. To be able to change in a pGDB the attributes of the feature-class I have embadded the following references Esri.ArcGis.Geodatabases...
View ArticleRestricting use of data according to lat/long?
Hi! First time poster, and apologies if this is a stupid question. I've done my best to search the forums (and the old ones) and the answer wasn't immediately obvious. I'm still a bit overwhelmed by...
View ArticleIObjectClassEvents not firing
Hello All, I am using ArcGIS Desktop and ARcSDE 9.3.1 version and trying to extend my featureclass which is coming from ArcSDE geodatabase. I am using DBMS authentication mode on my Development server...
View Article"Cannot add field [X] to [...]" Error in Geoprocessing
Hello, back once more with a Geoprocessing object error ... I am trying to perform a Getis-Ord analysis for one of my applications (written in C#), and I'm getting an error that I cannot add a field...
View ArticleHow to add Annotation Layer to ArcMap from CAD file
I need to add Annotation Layers from .dwg and .dgn CAD files to arcmap At first I used Block of code like this Code: ESRI.ArcGIS.Geodatabase.IWorkspaceFactory pWorkspaceFact = new...
View ArticleIDataset / 2147467259 HResult COM Error
Dear everybody: I have problems with this line of code: pDS = pGPUtils.OpenFeatureClassFromString(ruta & outname) The error message is in spanish: "-2147467259 Devuelto error HRESULT E-Fail de una...
View ArticleIEXTENSION INTERFACE
// Code in ext.cs using System; using System.Drawing; using System.Runtime.InteropServices; using ESRI.ArcGIS.ADF.BaseClasses; using ESRI.ArcGIS.ADF.CATIDs; using ESRI.ArcGIS.Framework; using...
View ArticleCreate Map Cache manual
Hello, I'm trying to generate Map Caches from MapServices. The reason is, i need to generate caches for given extents automatically. Here is my approach with ArcObjects for .NET: IMapDocument...
View Articlesplitting zAware polylines
Hi All, I'm trying to split a polyline by the boundaries of a polygon using IPolyCurve2.SplitAtPoints using C#. The polyline I'm trying to split is zAware and holds elevation values at a regular...
View ArticleIntersecting Featurelayer with geometry
Hi developpers, I am searching for the easiest solution to intersect a polygon Featurelayer with another polygon of given geometry (IGeometry). With the ITopologicalOperator I managed already to get a...
View ArticleIssues editing feature class with feature-linked annotation
I created a tool to update a feature class using a form that the user edits and submits. The tool had no issues making the submitted edits when there was no feature-linked annotation. Once I created...
View ArticleMetadata stylesheet
Hi everyone, I am converting C# code from ArcGIS 9.3 to 10.1 and have hit a wall trying to set the metadata stylesheet in code. In 9.3 the code to change the stylesheet was: IMetadataViewWindow...
View ArticleScript for populating comboboxes upon selection of each. Called Selection...
I am writing a script in VBA (ArcObjects) 6.0 for 3 comboboxes to communicate. For Example: When the user selects Urban from the first combobox the second combobox populates with the years 2010 and...
View ArticleClearing a combobox of Previous Selections!
I am loading comboboxes upon selection of previous comboboxes selections. I am having trouble clearing the box so that only the AddItems will show. For Example: Depending on what year they select only...
View ArticleClearing and Maintaining Comboboxes VBA (ArcObjects) 6.0
I am writing a program to work through 3 comboboxes upon user selections. I am trying to fix the top part which involves populating the year combobox when either the urban or annual stations are...
View ArticleInsert feature causes Out of memory exception
Hi! I'm developing the 3D modeling GIS software. For 3D city models i use generated from vector data building models and 3d files (Google Earth and SketchUp) with geographic coordinates within. I...
View Articleusing a Java .jar file in a Python script
Hello, I'm trying to write a Python script for ArcMap that will call a java .jar file. Within the Python script, if I can establish a connection to the .jar file, all I should need to do is write out...
View ArticleCarto vs. Display - IFeatureLayer
Hey, Quick info: VS2010 Express, developing using vb.net against the .NET 4.0 for ArcGIS 10.1 SP1 I haven't found an exact solution to my issue, just some similar issues. Long story short I've got the...
View ArticleSpatial Query Error
Hello, I have a serious problem with spatial query in ArcObject. Code: IRelationalOperator relOperInsideBarriers = (IRelationalOperator) fcInsideBarriers...
View Article