A software development IDE created by Microsoft

learn more… | top users | synonyms

7
votes
1answer
1k 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
757 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 ...
4
votes
2answers
1k 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
398 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
3k 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
1answer
496 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
646 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
434 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
386 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
242 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
0answers
93 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 ...
3
votes
2answers
897 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
248 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
1answer
460 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
2answers
996 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
2answers
713 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
410 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
1answer
197 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
947 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
1answer
100 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
338 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 ...
2
votes
1answer
261 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
1answer
177 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 ...
2
votes
0answers
72 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
508 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
969 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
120 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
1answer
281 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
2answers
718 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
348 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
1answer
76 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
621 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
369 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
73 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
210 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
122 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 ...
1
vote
1answer
535 views

How do I get Visual Studio to run EsriRegasm.exe as administrator?

When run Visual Studio 10 as administrator and build a project with this in my csproj: <Target Name="BeforeClean"> <Exec WorkingDirectory="$(CommonProgramFiles)\ArcGIS\bin" ...
1
vote
2answers
251 views

Using OpenLayers with OSM as map

Got this code from a teacher and I don't know what I am doing wrong! I have searched around but I can't find the error. Visual Basic shows no error. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 ...
1
vote
1answer
340 views

ESRI Silverlight Template - 'View Designer' of MainPage.xaml Crashes Visual Studio

At last, first adventure with the ESRI Silverlight API... So, I have installed ArcGIS API for Silverlight v2.4 and all its dependencies. Then, I downloaded the 'Showcase' Template. Opened the ...
1
vote
1answer
333 views

Debugging AGS API for Silverlight - returned featureset to graphics layers not drawing

I have geometries returning from the ArcGIS Server as a featureset from a gp service to the silverlight client. In debug mode in VS 2010 I see the geometries coming back to the client and I am adding ...
1
vote
1answer
2k views

Display Selected Features Attributes in User Form

I'm trying to convert my ArcGIS 9.3 code to ArcGIS 10 via Visual Basic 2008 Express; however, I'm having a couple issues. The goal is for a user to select a feature in ArcMap, click on this custom ...
1
vote
1answer
472 views

ArcObjects DataStat Error

I have some code that adds a bunch of group layers into ArcMap based on a table within ArcMap. The code works fine in VBA, however in VS 2010 I get an error on the "pEnumVar = pDataStat.UniqueValues" ...
1
vote
2answers
696 views

ArcMap label graphic

I converted an ArcMap VBA code to a Visual Studio dll. In doing so I had to reference a new namespace "stdole" so my graphic label would show in ArcMap. The label works on my computer, but does not ...
1
vote
0answers
29 views

How to deploy ArcGIS Engine (Standalone) with License Agreement?

I've completed a standalone app in ArcGIS Engine and in the process of deploying it, but I have a license agreement and supposed to add a licenseagreement.rtf file format in the properties menu while ...
1
vote
1answer
113 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 ...
1
vote
0answers
51 views

Whats wrong with my code? Any reference missing?

I have been trying to add the navigation tool that will simply zoom in and zoom out. Push left and right using the click of the mouse. I'm using in the Silverlight, Visual Studio 2010. The XAML ...
1
vote
2answers
430 views

Could not load file or assembly : ESRI.ArcGIS.ADF.Local.dll

i worked in an application vb.net , arcengine : i copy the project source and i paste it in other Machine , Ooops i can't compile it , Error is : Error 1 Could not load file or assembly 'file :/ / / ...