New answers tagged

2

Below is some VBA code that shows you how to open the Item Description window from the first layer in the TOC. Public Sub OpenItemDescription() ' Get Application Dim pApp As IApplication Set pApp = Application ' Get Map document Dim pMXD As IMxDocument Set pMXD = ThisDocument ' Get Map Dim pmap As IMap Set pmap = pMXD....


0

I have not familiar with this process but from reviewing a help page entitled ESRI ArcGIS Add-In Installation Utility that says things like: if the add-in specifies its target as 10.0 and An add-in targeting 10.1 and Add-ins can target only one version of ArcGIS. Add-ins targeting 10.0, for example, will not show up in any other version. ...


3

While the SDK is required to create new projects (the templates that appear when you choose File>New Project), it should be possible to compile existing projects without the ArcObjects SDK. Also, I've heard: 1) you don't really need Visual Studio to compile - you can use MSBuild, which is now part of the .NET framework installation. 2) you can compile ...


1

You definitely need the ArcObjects SDK to build addins. It's more than just referencing the libraries, the SDK installs vital templates for creating addins; when you start a new project there is an Esri category which you pick from ArcMap, ArcCatalog etc.. and the template is created with all the necessary components. You might be able to get away with ...


2

There's a few problems here. First IMxDocument.FocusMap is read only, you can't change the extent from here, use IMxDocument.ActiveView instead. Instead of projecting your point (point.Project(spatRef);) you need to set it by using IPoint.SpatialReference (inheritied from IGeometry class): point.SpatialReference = spatRef; I have found it better to pan an ...



Top 50 recent answers are included