Query for Label in VB.NET how to
Hi I am new in this forum and Arcobject I need to search for Label in Arcmap Query What do I search for in this forum to get me started with this Or do anyone have sample how to Query for Label with...
View ArticleHow do I disconnect an open SDE direct connection?
I am working in an enterprise geodatabase in through Citrix - both the desktop client and SDE (Oracle 11g) are at 10.1. I often have multiple SDE connections open in ArcCatalog and would like a way to...
View ArticleArcMap.Application is null when Addin is loaded
Hello, I've a problem in the installation of an Add-in that we've developed for our client. The Add-in does not work correctly because the ArcMap.Application value is null when loaded. The type of this...
View ArticleNeed Help in ArcEngine 10.2 Application Deployment in windows 7
I developed an application using ArcEngine 10.2. Anyone have an idea on how to deploy the application to the other pc w/o using my ArcEngine License? I tried installing the app to a computer with...
View ArticleExtensions window not refreshing when programatically changed
I have a few extensions (3 and growing) that implement IExtensionConfig. The extensions are for doing different sorts of task in ArcMap, so they rely on different data loaded, enable different custom...
View ArticleHow to create ArcGIS Toolbox built-in tools using ArcObjects?
Hello - I am in a situation where my Python arcpy scripts are limited (the arcpy API is limited I should say) so I can't create a satisfactory script tool and I can't use a model to create a tool I...
View ArticleGeodatabaseUI.ICalculatorUI2 no longer works in ArcMap 10.1
I have an addin that has been ported from ArcMap 9.3 to 10.1 and this code worked perfectly in 9.3 but for some reason won't work at all in 10.1: Code: ICalculatorUI calc = new CalculatorUI();...
View ArticleMultiple parts of a polyline M
In a SOE application, I have retrieve all of points broken from a polyline M if it is a single part segment. If a segment contains multiple parts, how to retrieve the parts as well as the points using...
View ArticleC# Release Excel Objects
I have an application written in C# that runs from within ArcMap and it creates an Excel file on the fly using Microsoft.Office.Interop.Excel objects. It works fine except the Excel process hangs until...
View Articlevb.net arcgis add in, log4net does not work by installing esriAddIn
Hi everybody, I want to use log4net in my vb.net for ArcGIS add-in. After I build the solution, it generates a .exe file and a .esriAddIn file. The problem is when I run the .exe file (without open...
View ArticleDefine a query for joining data
Hey around, I´m trying to build a query that provides access to features within a FC that intersect a given geometry AND that apply to an attribute-based query from another table by a join. For the...
View ArticleHow to set FixedAspectRatio to False for Legend
I'm creating a legend. I want to set IBoundsProperties.FixedAspectRatio to False. When I run the code, I get "The method or operation is not implemented." Code snippet (C#): Code: ILegend2 legend =...
View ArticleHow to Subtract one Polygon from Another
I have two polygon geometries - one is a polygon from a feature and the other is created from the current view extent (which is always the larger polygon, if that matters). I want to subtract the...
View Articlehow to obtain ILabelEngineLayerProperties2 ? and error calling it's method
How do we obtain ILabelEngineLayerProperties2 ? The only way I could figure it out is through IGeoFeatureLayer.AnnotationProperties which is collection of IAnnotateLayerProperties interfaces. Then I...
View ArticleHowto save to and restore from file the featurelayer's IFeatureSelection...
Hello, Like symbology, I would like to save to and restore from file the featurelayer's IFeatureSelection properties. This properties are set on the FeatureLayerSelectionPropertyPage. I can do it (save...
View ArticleDefault labeling engine in arcgis 10.2.2
Does anyone know the default labeling engine in arcgis 10.2.2 ? maplex or standard.
View ArticleCreate MSD in 10.2
Background: In 10.0, I'm able to create a map service in less than 2 seconds with ArcObjects.NET. My software has clients all over the US that got very used to new map services up within 10 seconds....
View ArticleIMetadataHelper implementation in ArcCatalog
I want to implement IMetadataHelper interface in ArcCatalog, but i could not find a way to implement it. API Reference mention that it should be implemented through MetadataExtension but i coud not...
View ArticleSelecting by rectangle un axSceneControl
I need to activate a tool that can select features by rectangle in axSceneControl (standalone app). So, default ControlsSceneSelectFeaturesToolClass can't do this. How can i do this?
View ArticleShared Add-Ins Not Updating - Possible Cause
An "undocumented feature" of ArcGIS I have found dealing with shared add-ins can give you the impression updating from the shared folder is not working. One cause of this is older versions of the...
View ArticlePre-release announcement about the New Forums
For the past few months, development work has been underway here at Esri to build a comprehensive online community platform, which will include new evolved discussion forum. Esri's new Enterprise...
View ArticleHow to get labels to display over graphic
I've created a graphic polygon that is actually a polygon with the center cut out (I created it using ITopologicalOperator.Difference to remove the smaller polygon from the larger one). Now I want the...
View Articlehow to get representation control points?
hi ,everyone. i have a question, when i write code about representation , using arcobject . how can i get representation control points of the representation feature? Any Suggestions?
View ArticleThe table was not found. [GDB_DBTune] createFeatureDataset arcGIS 9.3
Hi, Looking for some help with creating feature datasets in a new Geodatabase. The following code works find with 10.1, but not 9.3.1. Code: IGeographicCoordinateSystem m_geographicCoordinateSystem =...
View ArticleMost cost-effective way to automate driving distance queries
(Not sure where I should post this. I did not see a forum sub category where you can post questions about what software / development solution to use. Each sub category seems to be about a specific...
View Article