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

Set EventTable

From http://forums.arcgis.com/threads/142...tures-with-VBA, where the code is in VBA: Dim pRouteEventSource As IRouteEventSource Set pRouteEventSource = pFLayer.FeatureClass I tried to setup an...

View Article


Converting 4-band raster to 3-band. How?

Using ArcMap 10.1/ C#/ ArcObjects Within an add-in, the program is using the ExtractByMask Geoprocessor function to create tiffs from sde raster layers. It works fine when working against 1 and 3 band...

View Article


How to cast?

Referrring to the code at http://edndoc.esri.com/arcobjects/9....teLocation.htm Dim pRtLocName As IRouteLocatorName Set pRtLocName = New RouteMeasureLocatorName I tried to do like that...

View Article

Fix for ArcGIS 10.1 cannot find Add-ins

There is a bug in the way ArcGIS reads add-in if you use profiles that are set up in an unconventianal way. The problem is that ArcGIS cannot find the add-ins after you make changes to them so they...

View Article

GeometricNetwork error loading

Goal is to eventually have access to the set of features that failed during the LoadNetwork portion of building out the geometric network. Currently I'm importing data, getting a nice network built out...

View Article


How to cast in opening an ESRI.ArcGIS.Location.RouteMeasureLineLocationClass?

I want to open an ESRI.ArcGIS.Location.RouteMeasureLineClass from a GeoDB. From http://resources.esri.com/help/9.3/a...n_overview.htm I got Open LocalLocatorWorkspace. Then I used the code below:...

View Article

How to determine if an image file is georeferenced

I have a task to scan a folder for georeferenced images. There might be a lot of images, some quite large, and some not georeferenced. The spatial information can also be either embedded or in a world...

View Article

Does ArcObjects ConstructUnion operation sometimes fail to merge touching...

I have some code which identifies touching parcels and uses ConstructUnion to produce a single polygon from them. Just occasionally the touching parcels remain unmerged even though they have been...

View Article


ESRI.ArcGIS.Location.IDatabaseLocatorWorkspace vs. IFeatureWorkspace

The IFeatureWorkspace has the methods like that: OpenFeatureClass(), OpenTable(), ... The ESRI.ArcGIS.Location.IDatabaseLocatorWorkspace does not have this kind of methods. In order to open a...

View Article


Very simple ArcMap add-in freezes

I'm working with ArcMap add-ins for the first time, and I'm having some trouble with it. I tried looking up the problem I'm having and I can't seem to find anything that mentions it. I just wrote a...

View Article

10.2 SqlWorkspaceFactory Error

Hello, in 10 and 10.1 i have an AddIn wich opens an SqlWorkspaceFactory and then loads some QueryLayers based on custom code, everything is working smoothly. What is failing, in 10.2, is the code wich...

View Article

IRouteEventSource and RouteEventSource

From this ArcObjects diagram at: http://help.arcgis.com/en/sdk/10.0/a...00000138000000, it can be seen that the RouteEventSource class has 2 interfaces, and one of the interfaces is the...

View Article

No such interface supported (Exception from HRESULT: 0x80004002

When I debugged the code: ESRI.ArcGIS.Location.RouteEventSource rteEventSource; rteEventSource = (ESRI.ArcGIS.Location.RouteEventSource)fClass; // fClass - a feature class...

View Article


Spatial Index is lost but never found unless I restart Arcmap

All, Odd problem here and I have not found a solution to it. I'm using ArcGIS 10.1, VB .net and the source data is a shapefile.At some point in my tool I add a field using the IFeatureClass.AddField...

View Article

Image may be NSFW.
Clik here to view.

Visuall C++ runtime error

Hello, I am trying to solve an issue for one of my customers. We have a legacy desktop application VB.NET that is only getting bug fixes & ArcGIS Engine Runtime updates at the current time. In our...

View Article


Raster Calculator and VB.NET

Hi, how to execute raster calculator from vb.net? there is help or equivalent sample to do that. following is link :- http://help.arcgis.com/en/sdk/10.0/a...0002782000000/ ESRI guys please help!...

View Article

Image may be NSFW.
Clik here to view.

Subclass RouteEventSource

In ESRI's Exploring ArcObjects, Vol. 1 p967, it is stated that the RouteEventSource is subclass of a Feature Class. However, in VS 2010 Object Browser, it is an interface (see the attached image). I...

View Article


What's wrong in my code? If you can help?

See my code below: // fc - a feature class w/ multiple feature records ESRI.ArcGIS.Location.RouteEventSourceClass rteEventSourceClass; rteEventSourceClass = fc as...

View Article

How do I call IGPTool.Execute from C#?

I don't want to AddToolbox to get to this tool. It works fine if i use the AddToolbox (using .sde file) from the Geoprocessor but that defeats the purpose. Code: IToolboxWorkspace toolboxWs =...

View Article

Feature classes in ArcSDE with .NET

What is the recipe to lists all of the feature classes from ArcSDE SQL backend database. I was able to create the connection but need to know how do it from .NET. Many of the samples out there are...

View Article
Browsing all 1374 articles
Browse latest View live