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

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 Article


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


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

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


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

IDataset / 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 Article

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


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


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

Image may be NSFW.
Clik here to view.

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

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

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


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

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


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

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


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

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

Spatial Query Error

Hello, I have a serious problem with spatial query in ArcObject. Code:                     IRelationalOperator relOperInsideBarriers = (IRelationalOperator) fcInsideBarriers...

View Article
Browsing all 1374 articles
Browse latest View live