A software development IDE created by Microsoft

learn more… | top users | synonyms

0
votes
1answer
56 views

Probelm with Add Network Analyst dll in My Web Mapping Application adf?

I'm a beginner in ArcGIS & I'm shooting blind really. I want to add the Network Analyst tool box to find the shortest path in my project. I tried this solution: I can't add Network Analyst dll to ...
1
vote
1answer
706 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" ...
3
votes
1answer
626 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 ...
0
votes
1answer
232 views

Given a C# ArcMap custom toolbar with engine source files in a folder is there a way to install the toolbar and engine without going through VS?

I was given ArcMap toolbar and tool engine files without instructions on how to install but the code was done by someone else and it should work. How do I install it in ArcMap 10? I attempted to add ...
5
votes
0answers
106 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 ...
1
vote
2answers
282 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 ...
2
votes
1answer
223 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 ...
1
vote
1answer
122 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
0answers
198 views

ArcGIS Add-In - protected dll-s crashes ArcMap [closed]

Have anyone tried to use a protected dll inside an ESRI Add-In for ArcGIS Desktop? We use a 3rd party company to protect our .NET dll-s before we package them. This has worked for ArcGIS extensions ...
1
vote
1answer
370 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
0answers
63 views

Get polygons inside a polygon

I have developed a tool in arcobjects on Visual studio 2010, the tool works fine but once installed my ArcMap drawing the map (refreshing) and printing slows down.. I have used ITopologicalOperator ...
2
votes
1answer
573 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?
3
votes
1answer
491 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 ...
1
vote
2answers
425 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 ...
0
votes
0answers
72 views

Why is IQueryGeometry crashing when ITextSymbol:Text contains more then one AMPERSAND (&) symbol?

I have a bit of an issue with my addin which converts annotations (text) to polygons. To do this I use the ITextSymbol obtained from the Annotation Feature which is then implemented by the ...
3
votes
1answer
413 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. ...
1
vote
1answer
349 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

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 ...
3
votes
1answer
269 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
3answers
429 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
2answers
977 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 ...
0
votes
1answer
617 views

Exception from HRESULT Error - Update Attributes

I have a form that allows users to update attribute information for selected features...but I'm recieving the error: "Exception from HRESULT: 0x80041051" when it tries to update the data. I'm using ...
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
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 ...
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 ...
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
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
699 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 ...
7
votes
1answer
837 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 ...
1
vote
1answer
284 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
489 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" ...
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 ...
1
vote
2answers
758 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
votes
3answers
778 views

ArcObjects conform to .NET standards Error

So, I'm following the "Walkthrough: Migrating VB6 to VB.NET for ArcGIS 10" to convert my VB code to .NET (using Visual Studio 2010), and I'm running into this error, "NullReferenceException was ...
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
2answers
754 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 ...
2
votes
2answers
860 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 ...
0
votes
1answer
110 views

Give Universal BaseCommand a custom Icon

If I add ControlsMapZoomInTool like this: AddItem("esriControls.ControlsMapZoomInTool", -1); To a Basic Context Menu I get the magnifying icon in my context menu right next to the words "Zoom 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 ...
7
votes
0answers
594 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 ...