A framework, developed by Microsoft, that compiles any of several COM-based programming languages into machine-executable language.

learn more… | top users | synonyms

3
votes
1answer
164 views

Initiate a pop-up before accessing a .net out-of-the-box web map

I need to create a pop-up that initiates as soon as a user clicks on a web map, or accesses the link from another location. The map is an ArcGIS Server out-of-the-box .net app. It's for a disclaimer ...
5
votes
2answers
336 views

Show loading icon with custom tool

I have a custom tool in vb.net for a web application, i'm using Asp.net, the class is in vb.net and the gis service is in Arcgis Server 9.3 sp1, the tool makes a selection of layers and takes a lot of ...
2
votes
2answers
605 views

Iterate through TOC elements in ArcGis Server 9.3

I'm developing website with a custom tool in ArcGis Server 9.3 using Visual Studio 2008 and the ADF components, the thing is that when I click on my custom tool it calls a class, this class needs to ...
3
votes
1answer
798 views

How can I programmatically add a new feature template to the “Create Feature dockable window”?

This is a new question but a continuation of this post: How can I programmatically display the "Create Features" dockable window in ArcMap 10? I like the new template system in ArcGIS 10 but for ...
5
votes
1answer
2k views

How can I programmatically display the “Create Features” dockable window in ArcMap 10?

When I start editing in ArcMap 10, by default the "Create Features" window is automatically opened and docked. Stopping the edit session hides this window. When I use the IEditor:StartEditing method ...
5
votes
2answers
2k views

How can I disable and enable an ArcGIS 10 Add-In button?

Is there a way to enable / disable Add-In buttons / tools?
7
votes
1answer
1k views

ArcGIS 10 Add-In compile problem - Why are new edits to code igonred by ArcMap?

I've been compiling and debugging my Add-In (a toolbar with a few menus, custom commands, custom selection tool and a context shortcut menu) with no issues until suddenly the edits and changes I do in ...
2
votes
2answers
721 views

Problems closing dbf-table edited with ArcObjects

To change values and add new values to a dbf-file, I connect to the dbf and use the ITable interface to make the edits. At the end I release the COM-objects of the table and the workspace. But when I ...
1
vote
2answers
187 views

How can I determine whether a feature class is a 3D feature class (HasZ)?

I would like to be able to determine whether a feature class passed to a procedure is a 3D feature class (hasZ) or not. How can I do this in VB .Net & ArcObjects?
5
votes
1answer
681 views

Why is SymbologyControl missing symbols in XP?

I'm using the the code form SymbolForm.vb in this sample: Change layer rendering using the SymbologyControl It's working great on my developer machine with Windows 7, 64bit. But when I deploy the ...
7
votes
4answers
575 views

Newbie to GIS Development

Greetings everyone, I am new to GIS development and was wondering if there are tutorials available for development in ArcGIS 10. I have some experience writing simple scripts in python and fooling ...
2
votes
2answers
597 views

.NET console application running super slow all of the sudden

I have a standalone .NET console application that (through ArcObjects) processes DWG files, extract coordinates, and pushes them to SQL Server. It's smoking fast and can process a DWG in a matter of ...
7
votes
5answers
1k views

Are there any .Net opensource library for geometry operations?

Are there any opensource librarys for doing geometry operations (union, intersect, relation...) in .Net?
2
votes
1answer
2k views

With Geographic Coordinate systems, why does my spatial query select all features from a feature layer?

Background: Add-In for ArcGIS 10 Desktop via ArcObjects for .NET The below code returns ALL features for the layer when the map is specified with any Geographic Coordinate System. However, the below ...
3
votes
0answers
517 views

How to return FeatureLayer from gp service(using custom function tool) (.NET)?

My basic problem is that I have a custom function tool HLZCalulation that I created. It takes in a string to a file gdb , opens it, does some calculations, and then returns a featurelayer with the ...
2
votes
1answer
1k views

How to show attributes of a new feature in Attribute table area when using IEditor3 and IEditTemplate, ArcGIS 10

ArcObjects SDK for .NET and ArcGIS 10 Desktop Quick snippet to set the stage: IEditor3 editor.StartOperation(); IFeature newFeature; // fill out newFeature.Shape, etc. newFeature.Store(); ...
6
votes
2answers
828 views

How do I deserialize GP Result Json?

The value part of a GP Result can be any type of GP object (or literal). Does anyone know of a general way to deserialize this, preferably with either WCF or Json.NET? I'd prefer not to have to ...
4
votes
2answers
7k views

How do I serialize/deserialize .NET dictionary without key value elements?

I'm trying to get my C# class to serialize to a json that complies with GP Job, for example: { "jobId" : "jb10b153b77e74a839e31af53e5d4d0d1", "jobStatus" : "esriJobSucceeded", ...
8
votes
2answers
1k views

Can custom map tiles be consumed via ArcObjects within my ArcGIS 10 Desktop AddIn?

Can I programmatically consume and render custom map tiles in ArcMap via our ArcGIS 10 Desktop AddIn? The AddIn is built using the ArcObjects SDK for C#/.NET and ArcGIS 10. Pulling and rendering map ...
9
votes
6answers
6k views

Learning .NET for arcgis use (mainly desktop) - how to start?

I know that many of you guys don't like GIS analysts that turn (or act as part time) programmers and think that their codes are sloppy (which I guess that they are many times) but as everybody has to ...
1
vote
3answers
2k views

How do I make an icon with some text to popup when I hover over it and for it not to be slow?

I would like to make an icon on the screen and have hover popup text. Ideally the text will be black with a white background. Right now my icon is a bitmap created like this GraphicTrackerClass ...
10
votes
2answers
2k views

Issues with geoprocessing with .NET

There are some nice features in ArcToolbox we can use, but for some reason, this is NOT working properly. It doesn't even throw me an error. My software is running inside ArcMap, so no need to ...
0
votes
1answer
132 views

Inherited EditorServerCommandAction double posts returnMessage

I have a bunch of inherited EditorServerCommandActions in my WebADF solution and when ever I use the ReturnMessage inside EditorServerAction() it generates two javascript popups at the clientside. Is ...
0
votes
2answers
1k views

How do i popup a context menu with custom command items in a Select tool OnMouseDown (Right Click) with VB .Net?

This should be simple... I am converting VBA customization to VB .NET in VS 2008 Express Edition. In VBA i have a custom selection tool. Aside from just selecting features, when OnMouseDown receives ...
3
votes
0answers
290 views

How do I Convert from LayerDescription.SelectionFeatures to GraphicsLayer?

How do I convert (in a clear and concise way) from ESRI.ArcGIS.ADF.ArcGISServer.LayerDescription.SelectionFeatures to ESRI.ArcGIS.ADF.Web.Display.Graphics.GraphicsLayer I want the selected ...
3
votes
2answers
1k views

How to merge two polylines in code?

We are currently working on a project where we have to merge sections (polylines) to a route, but the big question is how you do this. We have currently tried adding those two as segmentcollections ...
3
votes
3answers
836 views

Open .NET implementation of the OGC Geometry Object Model from Simple Feature Access 1 specification?

I am looking for a .NET implementation of the geometry object model described in OGS's Simple Feature Access, Part 1 specification. Preferably lightweight. I don't need WKT support, just the ...
9
votes
8answers
5k views

How can I use SQL Server's spatial types from a .Net application?

For an upcoming project, one of the requirements is to store and use basic geogrpahic data as part of an existing SQL-Server/.Net application. It seems obvious that we could use the SQL Spatial ...
1
vote
2answers
200 views

IFieldChecker problem

I'm having some problems using IfieldChecker. I have this following code, which I'm trying to test permitted/not permitted fields, according to my workspace public IEnumerable<IFieldError> ...
3
votes
2answers
805 views

The mysteries of the ArcGIS Server Identity - can you help?

Just getting back into ArcGIS for .NET again after about 2 years of doing the training course. I have a question about the "Add ArcGIS Identity" that you choose in Visual Studio - it doesn't seem to ...
8
votes
2answers
638 views

What are the implications of using .NET Generics to store ArcObjects?

I'm wondering what are the implications of using Generic types in .NET to store ArcObjects, such as ILayer, IField, etc. The compiler throws me a warning when using these kind of values public class ...