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 ArticleUse 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 Articleclick 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 ArticleIRow.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 ArticleIUniqueValueRenderer.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 ArticleFormating 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 ArticleSetting 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 ArticleStopEditing(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 ArticleDetermining 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 ArticleImplementing 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 ArticleGeoprocessor 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 ArticleAdd-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 ArticleArcGIS 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 ArticleHow 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 ArticleInvalid 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 ArticleClosing 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 ArticleMOLE 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 ArticleAdd 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 ArticleNew 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 ArticleQuestion 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