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

geoprocessing with a definition expression

I am trying to use the Geoprocessor class to run a symmetrical difference on two layers with definition expressions on them in a console application. Whenever I run the code, the symmetrical difference...

View Article


Use ArcObjects to customize and extend ArcMap graphical

i want to use ArcObjects to customize and extend ArcMap graphical user interface with which users can search and manage the data in a more efficient way. And user can write non-spatial SQL statements...

View Article


click event on map in add-in

Hi I am using c# and ARCOBJECT SDK10.1 to create add-ins . I have used dockwindow and activate it on a tool using the following code. Please note that while creating the project in visual studion 2010...

View Article

IRow.Store() vs ITableWrite.WriteChangedRows()

Can someone explain to me the differences between these two calls (other than the parameter differences)? There is a warning about calling IRow.Store() from an edit event, but the documentation on...

View Article

IUniqueValueRenderer.AddReferenceValue Causes program to exit with error

I am using the IUniqueValueRenderer.AddReferenceValue statement in a program to add additional values to an existing value for symbology purposes. After the value has been added, I perform a...

View Article


Formating field values

I'm trying to create a feature class with a number of fields, and I've got the data to load properly. However; I'd like to format the Date field so that the ArcMAP (Identify) always displays the date...

View Article

Image may be NSFW.
Clik here to view.

Setting the Custom extent of the Data Frame

Hello, I am wondering if it is possible to set the custom extent of a map document's data frame using ArcObjects 10.1? I wish to take an existing map document, modify the custom extent of the data...

View Article

StopEditing(false) not rolling back

My application is loading data into a series of SDE tables (in an Oracle database). Prior to loading, it uses IWorkspaceEdit like this: if (!workspaceEdit.IsBeingEdited()) {...

View Article


Determining Upstream and Downstream polylines

Hello, I am looking for the best approach to determining the upstream and downstream polylines of two segments. I have code that has just split a polyline into two segments: Code: ISet newSet =...

View Article


Implementing IRouteMeasureCreator2.CreateUsingPoints method

Hello! I'm facing a problem here when trying to mimic IRouteMeasureCreator2 interface functionality to create routes using calibration points. What I'm trying to do here is that I am basically trying...

View Article

Geoprocessor in separate thread fails the second time it's run

Hi all, I'm developing a lengthy process where I'm running three separate geoprocessing tools from an ArcMap (10.0) command inside a separate STA thread. I'm doing it this way so I can have my process...

View Article

Add-Ins no longer appear in "My Add-Ins" when built in Visual Studio

I recently had my operating system (Windows 7) re-installed and now I'm having a problem loading add-ins. Normally, when I build an add-in project from Visual Studio, the add-in appears in the folder...

View Article

ArcGIS Engine Support going forward

Should legacy applications written in ArcGIS Engine be converted to ArcGIS Runtime (i.e. is Engine being phased out?) or will Engine support continue for some time (and for how long)? I'm seeing a lot...

View Article


How to get the x and y coordinate of the selected point feature

I need help on how to get the x and y coordinate of the selected point feature. I have a point feature and I need to get the x,y of the selected point. Got no luck in this code. Dim pfcursor As...

View Article

Invalid ArcGIS runtime binding. Application will shut down.

Hello, I have created a ArcGIS console stand alone application using the new project wizard in Visual Studio 2010. The default code created in the stub was around grabbing a desktop license: Code:...

View Article


Closing an mxd in ArcObjects

Quick question on ArcObjects program. My program has the user open an mxd and the dialog box is there for them to answer questions to pull up another premade mxd map. When the map opens it opens behind...

View Article

MOLE on MapControl and GlobeControl at same time

Hi, my application uses two forms the first 2D (mapcontrol) and the second 3D (globecontrol). within each one must display MOLE symbology. After correctly displaing MOLE symbology on globecontrol, I...

View Article


Add ArcGIS Toolbox Reference - .Net target version of created DLL?

I'm currently working on an Add-In in which I'll need to do some geoprocessing. In the ArcObjects samples (here) there's one that show how to queue up multiple geoprocessing tools to run in the...

View Article

New to ArcObjects.

Hello, I'm new to ArcObjects SDK. I have a access DB file created in ArcGIS 9.3 and now I want to load that map and details in Visual Studio using C# language. Is it possible? Also can I add new...

View Article

Question on Loops!!

I created a program in ArcO that has a dialog box that users answer questions in to get an mxd to draw. I missed a step in the program. I have it written where if they choose Annual stations it will...

View Article
Browsing all 1374 articles
Browse latest View live