How to change feature weights for standard graphics layer programmatically??
Hey all, I wrote some ArcObjects code (ArcGIS 9.2, VB.NET) which creates some graphic elements programmatically and then exports the map. some labels that overlap with the graphic features are not...
View ArticleDuplicate the Info Button Functionality
I'm looking to duplicate the Info toolbar button (from ArcMap) functionality in a .NET application that is using AxMapControl. I would like a user to be able to left-click on the map and that causes a...
View ArticleError: "The name Arcmap does not exist in the current context"
I bought a book called "Beggining Argis for Desktop Development Using .NET". In chapter 2 there is an exercise to create and add-in. So I created an add in in Visual Studio 2010 but the class file has...
View ArticleArcGlobe Draw Rectangle OpenGL
I've only successfully drawn a rectangle by having a custom globe layer rasterized, therefore using the 2D display basically to draw using the 2D symbols. Inside of my DrawImmediate function, I have...
View ArticleHow to realize tool of the Arctoolbox with VBA?
Help me realize Arctoolbox's tool Split Line At Vertices (Data Management) with VBA. How can I do this in VBA?
View ArticleAdd ArcGIS Reference - Why is Server Disabled?
I'm working on a Windows 7 PC with ArcGIS 10.1, ArcGIS for Server 10.1, the ArcObjects SDK, and Visual Studio 2010 installed. Everything is licensed. I am currently working on a WCF REST service that...
View ArticleObjects in this class cannot be updated outside an edit session
HI, I am trying to delete selected features of a feature class . FOllowing is what i am trying to edit a PGDB -- Code: Â Â Â Â private void openFromFile_pGDB_Workspace(String inPGDB)throws Exception{...
View ArticleExecute geoprocessor problem to create a fishnet
Hello everybody, I'm sorry, I just begin to program with ArcObjects in VB.Net (ArcGIS 10) and maybe this question have been already asked. I try to create a fishnet by code but I have a problem. The...
View ArticleError running the GeoProcessor from a Windows Service (Network Service)
Hello, I've created a simple Windows Service application in VC++, which all it does is call the GeoProcessor: IGeoProcessorPtr ipGP(CLSID_GeoProcessor);...
View ArticleHow do you check if a layer in TOC is a vector or a raster/image? vb.net
I am writing code for a button in a windows.form to export to KMZ any selected features from any vector layer in a maps TOC. Code works well with vector layers but seems to crash if there is any...
View ArticleBeginner at ArcObjects - Help?
Hello, I am looking for the information and resources to get me started with ArcObjects. Could someone point me in the right direction? I currently have ArcGIS 10.1 at my disposal. Thanks!
View ArticleMap control in dockable window?
I am new to ArcObjects and looking to get some ideas on how to display raster data from a Mosaic Dataset in a separate window using an ArcMap addin. Basically the user would click (identify) a point on...
View ArticleReloading a local raster layer from disk
Hi, I am creating a raster layer in ArcMap 10.1 and displaying it in the map: CComPtr<IRasterLayer> iRasterLayer; iRasterLayer.CoCreateInstance(CLSID_RasterLayer);...
View ArticleNew to ArcObjects 10
Having trouble creating custom buttons for 10.0 from 9.3. I know most of my code will work, but when I run the snippits: GetMxDocumentFromArcMap & GetActiveVewFromArcMap both return Nothing. So...
View ArticleHelp - Geoprocessing libraries from stand-alone .net application built with...
Hi, We have a map viewer built using the ArcEngine map controls, and now I'd like to start using some of the Geoprocessing tools to generate layers for display in the map viewer. I'm wondering if I can...
View ArticleArcObject: Rotation Tool Issue
Hi All, I am adding "Rotate Tool" in tool bar with "Start editing","Save Edits", "Stop Editing" and "Edit Tool". Can any one help me please. Here is the scenorio 1. Start editing 2. After start editing...
View Articlehelp me ! there are error when executing IZonalOp.ZonalStatisticsAsTable
When I use tool zonalstatistics as table or zonstatistics in ArcToolBox 10.1,I can get the result without error. But when I use C# and IZonalOp.ZonalStatisticsAsTable( or pZonalOp.ZonalStatistics ) in...
View ArticleExport in C# the mapserver.json file
Any idea of how to export in C# the mapserver.json file which is include in the tile paquage ?
View ArticleWith Desktop 10.1, is there a way to change the JVM runtime?
Prior to ArcGIS Desktop 10, the Java Configuration Tool allowed one to specify an alternate JVM (http://resources.esri.com/help/9.3/a...7bdc50d4d1.htm). In 10.1 that is no longer an option, as far as I...
View ArticleLooking for video tutorials/courses for ArcObjects/ArcEngine?
Hi all As it's clear from title, i'm looking for a video courses for ArcObjects/ArcEngine Programming to download or purchase. There are some videos in arcgis.com, but they are spare and they are not...
View Article