Program crashes during Calculate Field
Hello, I've made up my first custom install. After installation it crashes during geoprocessing function Calculate Field with this return message: Executing: CalculateField lyr value 10 VB # Start...
View ArticleWhat is the best practise when using ComReleaser?
Coding gurus, I've got a question about best practise when using the ComReleaser object. In the first example below is some stub code showing how I would typically using ComReleaser when I'm processing...
View ArticleVisual Studio Debuging Problem - Cannot find pdb for ArcMap.exe
Hi guys. Trying to create a new extension for ArcMap and am having trouble getting debugging to work. I can get the extension - a toolbar with buttons and code of course - to loadup in arc properly and...
View ArticleLayers' feature visibility within data frame
Hi, Has anyone got to grips with how the new legend functionality works in Desktop 10.1 using .NET? Specifically, the way it only shows layers which are currently visible on screen? It looks as though...
View ArticleRemove points/undo from a new line feedback
Hello, Does anyone know how you would undo the addition of a new point to a newline feed back. We are trying to implement tracing functionality using a newline feedback and need to remove points if the...
View ArticlePath for user.config in new Extension for ArcMap
Hi Guys. With a new extension I am creating in ArcMap using Visual Studios, I want to be able to save user settings in the user.config file. Using the built in functionality of VS, I get this as a path...
View ArticleWhat is the best way to implement MRU combo box?
I'm trying to implement a combobox which manages its collection of items as a most recently used (MRU) list. I need to be able to move an item to the top of the list if it is selected, but I've only...
View ArticleHow to get the range of the Object Id's for a feature class?
Hi, Can any one suggest me some way to get the range of the Object Id's present with the Feature Class(that is the total number of Object Id's present starting from some value and ended with some...
View ArticleTransformation on Vector layer
Hi, I am trying to georeference a CAD DGN file. Initially i used a two point transformation using CAD transformation. But the transformed CAD had slight tilt and was not matching the coordinates of my...
View ArticleCreating combobox item for toolbar extention - no HWND in WPF
Hi Guys. I am working an an extension for ArcGIS Desktop in Visual Studios and .net 4.0. I Have created a working shell with a few buttons and some basic code to make sure everything will work as I...
View ArticleGet all the features from the Feature class into a collection
Hi, Can any one help me in getting all the features from the feature class into a collection without querying over the feature class? Thanks in advance
View ArticleESRI Certification for Arc Objects
Hi, Just went through the ESRI Developer Certification for Arc Objects costing 225 Dollares. Can I know if I can get any course material or Questions from previous exams so that I can get a feel of...
View ArticleESRI Certification for Arc Objects
Hi, Just went through the ESRI Developer Certification for Arc Objects costing 225 Dollares. Can I know if I can get any course material or Questions from previous exams so that I can get a feel of...
View ArticleOpening an Excel Spreadsheet Using VBA
I need to open an Excel Spreadsheet in a VBA script; I don't have access to Visual Studio, yet. When I did this before in Arc 9.x & Visual Studio 2005, I would use Process.Start(<spreadsheet...
View ArticleCan't access all annotation fields (feature cursor)?
Obviously all tabular fields are typically available for read/write in a ifeaturecursor>ifeature object but the only ones available from an annotation feature class are the OBJECTID and FEATUREID....
View ArticleSelect a Part of the Line Segment
I have a line feature, i have to select a part of the line feature. For example there is a line feature of 100meters. I want to select only 50meters of that line or any length less than 100meters. I...
View ArticleLength of the Polyline is returned as NaN and isEmpty is True
I have written the following piece of code. here topParentobject is IRow. I checked values inside the topParentobject it is present. When i cast the irow to ifeature and further into igeometry all the...
View ArticleUnable to bind the Server 10.1 Licences to WCF
Hello, I am using an WCF service in which I have written some arc object for Initializing the product code which is mentioned as below. ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.Server);...
View ArticleInserting Multiple Rows into Table
I am trying to insert multiple rows into a Geodatabase table through VB, but for some reason the program crashes when trying to enter a new row when the table already contains a row. I'm not sure if...
View ArticleCannot Select Layout Elements Upon Closing Windows Form
I have an Add-In that contains a button that launches a Windows Form as a Modal Dialog (ShowDialog). When I close the form (whether or not I have caused the form to run any code beyond launching...
View Article