A software development IDE created by Microsoft

learn more… | top users | synonyms

7
votes
1answer
2k views

How to get ArcGIS Templates in VS2010

I have a work computer which has ArcGIS desktop installed first and then VS2010 (just the way IT does it) and then templates are not available, anyone know what I need to do to see the templates? I ...
7
votes
1answer
877 views

Visual Studio Lightswitch and spatial data

I'm looking for a way to handle spatial data (for instance geography data type in SQL Server 2008) in Visual Studio Lightswitch 2011. Preferably with an extension that can show data on a map. So far ...
7
votes
0answers
598 views

Newbie to GIS Development in ArcGIS? [duplicate]

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 around in model ...
5
votes
0answers
108 views

Is IGraphicTracker leaking memory?

It seems that when geometries are removed from an IGraphicTracker instance, the geometries remain in memory until IAoInitialize.Shutdown() is called. I have tried removing the geometries by calling ...
4
votes
2answers
2k views

Send Geometry to query using ArcGIS REST API

I am writing a windows console app in VS 2010 to perform an overlay using the ArcGIS Rest API. My first REST query returns information about the geometry for a specific feature. I then want to send ...
3
votes
3answers
2k views

How to migrate an extension from ArcGIS 9.3.1 to 10?

I was given an ArcGIS 9.3.1 extension built in Visual Studio (VS) that needs to be updated to work in ArcGIS 10. When I open the VS project on my computer (that has ArcGIS 10 installed on it) I get a ...
3
votes
3answers
454 views

Enable Add-In Button if One Feature is Selected from Specific Layer

I am trying to enable an add-in button on my toolbar if only one feature is selected from a specifc Layer. For example, when ArMap loads, the button should be disabled. If the user selects one feature ...
3
votes
3answers
4k views

Creating StreetView/Bing Bird's Eye Add-In?

I'm trying to create an Add-In for this tool: Link to Google Maps and Bing from MXD (Streetview and Bird's Eye supported) I'm not receiving an error however my browser is not opening after I select ...
3
votes
2answers
717 views

How to compile an ArcGIS Desktop add-in in Visual Studio 2013

I have several projects made in Visual Studio 2010, those projects are ArcGIS Desktop Add-in's. I have been change of computer, and my new one only have Visual Studio 2013 due to some company politics ...
3
votes
1answer
687 views

When converting legacy addins to VS 2010 (ArcGIS 10.1), why are references to certain ArcObjects updated while others are not?

I am converting a number of my addins from VS 2008 Express, ArcGIS 10.0 to VS 2010, ArcGIS 10.1 and I need to update some but not all references. Why? For example, in the current addin I just ...
3
votes
1answer
741 views

Migrating from Visual Studio 2008 (ArcGIS 10) to Visual Studio 2010

I've migrated my add-in project from VS 2008 to VS 2010 recently, and am now receiving the following error: Unable to cast COM object of type 'System.__ComObject' to interface type ...
3
votes
1answer
527 views

What is the code to execute a function when there is a mouse click on the map?

I am developing an add-in for ArcMap 10.0 where I need to execute code when there is a click on the map open. How do I do this? I am using VB in Visual Studio 2010. I also need to get the coordinates ...
3
votes
1answer
583 views

ArcMap AddIn Build Error when referencing external ActiveX Interface in VS2010

If the "Register for COM interop" is unchecked the projects builds without errors. But I have to reference external ActiveX Interface in my project so I have to have that check-box checked. I am ...
3
votes
1answer
433 views

ArcGIS 10 Addin - Code Doesn't Execute on Another Computer

I've created an ArcGIS 10 Addin that consists of a toolbar containing one button and one tool. The button opens a form, and the tool is disabled until the user enters some information on the form. ...
3
votes
1answer
286 views

Creating an installer for an ArcGIS toolbar with Visual Studio 2005

I'm working on a small toolbar for ArcGIS 9.2, Windows XP, using Visual Studio .NET 2005. I followed Esri's instructions for creating an installer: ...
3
votes
2answers
1k views

ArcGIS 10 Add-In Does not Work on Other computers

I developed a user form that allows user to edit feature attributes in visual basic 2008. vb.net. The add-in's that I built work great on my computer, but when I tried it on another, it crashes ...
2
votes
2answers
487 views

Creating an ArcMap Extension

As ArcGIS 10 doesn't really support the full COM, I am looking at creating an extension. I am looking for samples to look through, to familiarise myself with them, but cannot find any. Any ...
2
votes
2answers
2k views

get valules for all fields from selected features

The following code works for retrieving values within a particular field(Name1), but I want to retrieve mulitple fields. Am I to create multiple variables for each field? IMxDocument pMxDocument = ...
2
votes
1answer
656 views

Why do I get an “Type 'IPoint' is not defined” error in VB.NET

I am writing an add-in for ArcMap 10. I am trying to do Dim clickedPoint as IPoint in VB.NET, but I get "Type 'IPoint' is not defined" error. Do I have to import a class or how do I make this work?
2
votes
1answer
690 views

How to read the app.config settings in ESRI ArcObjects ArcMap Add-In

I am developing custom toolbar and buttons for ArcMap 10.1 utilizing VS2010 and ArcObjects SDE 10.1 extensions. I put some application settings in the app.config file and I want to make them available ...
2
votes
2answers
954 views

Why is * .tlb not visible?

I've created a Visual Studio 08 Active X - MXCommands dll for a VBA button within ArcMap 9.3.1. I'm able to load and use the .tlb on my computer; however when I try it on my test computer the .tlb ...
2
votes
1answer
79 views

Signing ArcGIS Add-In with a post-build event

I'm attempting to automate signing of an ArcGIS Add-In using a post build event in visual studio that triggers a batch file (which subsequently triggers ESRISignAddIn utility). Running the batch file ...
2
votes
1answer
239 views

Problem using ArcGIS API for Silverlight

I've install Visual Studio 2010 SP1, Microsoft Expression Blend 4, and ArcGIS API 3.0 for Silverlight. When I create a new project using a standard map application in Visual Studio, I see the error in ...
2
votes
2answers
1k views

ArcGIS Server Object Extensions - Visual Studio Templates

The Visual Studio Templates for ArcGIS Server Object Extensions show up correctly in VS 2008, but not in VS2010. Is there an easy way to resolve this? Outside of copy and pasting code from VS2008 ...
2
votes
2answers
102 views

Getting a list of ObjectID from a Selection Set Object using ArcObjects 9.3 in VB.Net

I am trying to get back a list of ObjectIDs from a selection set using VB.Net in ArcObjects for ArcGIS Desktop 9.3. I have been passing an object populated using the ".IDs" method from the ...
2
votes
1answer
437 views

I have an ArcObjects 10.1 c# toolbar working, but when I add an addin extension to project the Startup function is never hit. why?

I have created an Esri Addin toolbar in VS2010 to add layers and search an address file, this works fine. I want to add an extension that will replace text on a template MXD with the current users ...
2
votes
1answer
170 views

VS2010 does not break on error when debugging ArcGIS add-in

I am having issues with VS2010 and debugging an ArcGIS add-in. The problem is that when there is an exception, it will not break on it and ArcMap(10.1) just crashes ("ArcMap has encountered...."). ...
2
votes
1answer
306 views

Setting up file geodatabase API

Can someone point me to a guide for setting up the file geodatabase API? I'm using Visual Studio Express 2012. I can deal with writing and debugging the code - I just can't seem to figure out how to ...
2
votes
0answers
42 views

CartographyTools missing in ArcGIS10.2

I have developed an ArcGIS Desktop AddIn for ArcGIS 10.1 using Visual Studio .Net 2010. The AddIn is established, widely used and by all accounts works well. Many folks have also been using it on ...
2
votes
0answers
62 views

Visual Studio not creating “.esriAddIn” file

I have an addin that I've been maintaining with Visual Studio 2010 Express for quite some time with no issues. Recently my computer was replaced and Studio 2012 Express was installed. Since that time ...
2
votes
0answers
761 views

Unable to debug ArcGIS 10.2 add-in on ArcMap with “No GUI components found in this Add-In”

I am working on an ArcGIS add-in (a very simple toolbar with a few buttons) with VB.Net and ArcObjects SDK in Visual Studio 2010. The solution was built successfully and the debug settings were ...
2
votes
0answers
81 views

How to refresh a IDockableWindow with a DGV

I am having a IDockableWindow which will display a row of data which is a DATATABLE on DGV. below is my code. Page1.cs: private void toolStripMenuItem_Open_detail_page_Click(object sender, ...
2
votes
3answers
707 views

ArcObjects identify tool [closed]

I'm using ArcGIS 10.1 and developing an application using visual studio 2010 and ARCObject SDK 10.1. I would like to use identity tool in my application and if not possible I want to execute a query ...
2
votes
1answer
1k views

Arcmap 10 Dot Net SDK Installation Issues

We have had Arcmap 10 installed on our machines for about a month now and all seems to be well. I ran into an issue yesterday when I tried to install the Developer SDK for .NET. An error message ...
1
vote
1answer
124 views

Extending ArcGIS

I've been tasked with a thesis project where i have to extend the features of ArcGis. I've been asked to create a model written in Python that can run out of ArcGIS 10. This model will have a simple ...
1
vote
1answer
2k views

Add Attritube Field to Combo Box on Form

I am trying to create a user box that: When the button on the toolbar is clicked, a user form appears with a combo box filled in with a feature's location (Taken from the attribute table - such as ...
1
vote
2answers
89 views

Creating Panning Buttons in C#

I am new to this and still trying to learn. I have a bunch of VBA code that I am trying to convert to C# and even the most basic things are hanging me up. Currently I am trying to build a button ...
1
vote
1answer
2k views

How to add ArcObjects SDK into Visual Studio Express 2013?

I have just installed the ESRI SDK from the 10.0 installation Disk and downloaded the Visual Studio Express 2013 and I'm trying to work through the ESRI Walkthrough named "Building custom UI elements ...
1
vote
2answers
785 views

Adds ArcGIS controls in the Visual Studio Toolbox window for dragging and dropping into a design view surface

I want to drag and drop MapControl into a design view, but I have an error: System.Runtime.InteropeServices.COMException(0x80040154):Classe non enregistrée (Exception from ...
1
vote
1answer
117 views

Errors when creating a TextElement from ArcObjects

I am attempting to add some text in the layout view of ArcMap. I’m using the following line for the TextElement that I’ve found online from numerous places including ArcObjects Library Reference. ...
1
vote
1answer
947 views

Running OpenLayers in .NET 4.5 breaks

So, I'm writing an web mapping application using OpenLayers in WebForms in .NET 4.5. It was working wonderfully until my browser upgraded to IE9. Now the JavaScript fails. After researching I found ...
1
vote
2answers
456 views

Disable button on User Form upon opening MXD?

I have a toolbar with two buttons that allow users to display an edit attribute window of a selected feature. I would like the buttons to be disabled until the user selects one feature. Current, I ...
1
vote
4answers
1k views

Edit Attributes in User Form

I am trying to convert my old ArcGIS 9.3 (VBA) code to ArcGIS 10 using Visual Basic 2008 Express Edition. So far I have sucessfully created an pop-up window that displays the attributes of a selected ...
1
vote
1answer
286 views

Integrate ArcGIS 10 extension INTO ArcEngine 10

I was wondering if there is a way at all to use some of ArcGIS 10's extension into arc engine. A good example would be if we could put Arc Hydro extension into ArcEngine. Thanks and Regards, Kev
1
vote
1answer
81 views

Unable to create .esriAddin; missing ESRI ArcGIS Add-in SDK components(s)?

What am I missing? I upgraded to ArcGIS 10.3 succesfully recompiled all other 20 or so addins after encountering a similar issue and renaming "ESRI.ArcGIS.AddIns.11.targets" to ...
1
vote
1answer
476 views

Geoprocessing Tools on ArcGIS 10.2 and Visual Studio 2012 -issues

I am migrating one of the existing project (custom Geo-processing tool- class library project) source code which runs on ArcGIS 10 SP4 and Visual studio 2010. This is working fine. I am could run the ...
1
vote
1answer
137 views

running tlb from bin — interop.scripting.dll not found

I rebuilt a custom command in VS Express 2013, added from file to a custom toolbar in ArcMap 9.3.1. The form appears, but upon running I immediately get an error about a missing Interop.Scripting.dll ...
1
vote
1answer
145 views

How to add new menu item to ArcCatalog using ArcObjects?

I'm trying to a add a new menu drop down to the ArcCatalog menu bar. I tried to use the built in ArcGIS base menu template in Visual Studios 2010 but no luck. I also tried to manually add the dll ...
1
vote
1answer
562 views

Debug target is missing - how to set in VS 2010 Express?

I updated ArcGIS from 10.1 to 10.2 and recompiled all Addins with ArcObjects 10.2. I am having an issue with 1 addin that accesses a custom tool in a toolbox and want to debug the project. However, ...
1
vote
1answer
165 views

ArcGIS crashes with no error number in Visual Studio

I've been developing Add-ins for a while with Visual Studio 2008 and ArcGIS 10. But in my new Add-in development process, I receive no error from Visual studio and ArcGIS crashes with error "Arcgis ...