Skip to main content

Questions tagged [add-in]

An extension to a software program that performs a custom task.

Filter by
Sorted by
Tagged with
1 vote
0 answers
173 views

Can a custom add-in execute code upon install of the .esriaddin [closed]

I have made a custom add-in using C#.NET(a toolbar that contains buttons) and I was wondering if it is possible to have some code execute upon the install of the .esriaddin file. Basically I want to ...
landocalrissian's user avatar
2 votes
2 answers
326 views

Add to geoprocessing environments when creating ArcGIS .net Add-in?

I would like to add a new environment to the Geoprocessor Environments from an ArcMap.net Add in. I try adding the env to the GPEnvironmentManager with the following code but when ArcMap opens and I ...
TurboGus's user avatar
  • 932
0 votes
3 answers
3k views

Why is add-in toolbar greyed out? [closed]

I installed an addIn toolbar for the U.S. Geological Survey's National Cooperative Geologic Mapping Program and I can see it, but all the tools are greyed out. Any idea why I can't see it? I am ...
user30398's user avatar
2 votes
0 answers
52 views

How do you set an AddIn button's Help source and topicID values at runtime?

I would like a way to dynamically set the help source/topicID for a button. Example Snippet: <Button id="Acme_FullExtent" class="FullExtent" caption="Full Extent" tip="Zooms the ...
Jay Cummins's user avatar
  • 14.7k
2 votes
1 answer
4k views

Add-in installed, but its elements not appearing in ArcMap

I'm creating an Add-in for ArcMap 10.1. When I export file testproject.esriaddin and install (whether double-click or from Customize Mode > Add From File dialog), message of success appears. But then,...
Jonáš Veselka's user avatar
4 votes
1 answer
454 views

ArcMap add in constructor called not called on start up

I am converting some old tools to the new Add-In format and have noticed that the constructor is no longer being called during startup, instead it is being called when the tool is clicked for the ...
Michael Stimson's user avatar
1 vote
3 answers
1k views

Why would Dissolve stop working in ArcGIS for Desktop?

I have an ArcMap Add-In that completes various geoprocessing steps, including Dissolve (using ESRI.ArcGIS.DataManagementTools.Dissolve). This tool worked at 10.0, but I just upgraded to 10.1 SP1 and ...
BeckyZ's user avatar
  • 438
2 votes
2 answers
2k views

Issue with initializing ArcObjects Interface and classes

I was going through ArcObjects example on following linkWalkthrough_Building_custom_UI_elements .I followed same steps but I was getting error while initializing objects for following code. ESRI....
Gunner's user avatar
  • 974
0 votes
1 answer
1k views

Displaying selected features in ArcGIS Identify Dialog using Visual Studio 2010/ArcObjects?

I'm brand new to ArcObjects SDKs and am struggling. I have a Python Add-in performing a query to select records (works great)and now trying to call the identify dialog via an .NET addin button that ...
user29358's user avatar
2 votes
0 answers
324 views

ODBC connection issue on 64bit architecture

I'm migrating an addin to a 64bit machine using Arcmap 9.3.1. Upon execution, it returns the following error - "[Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch ...
Sleep6's user avatar
  • 397
0 votes
1 answer
258 views

Troubleshooting and fixing TypeLoadExceptions in ArcMap AddIn when executing compiled c# script?

I am attempting to compile a c# script (class) on the fly and run it from an Arcmap AddIn (the script contains no ArcObjects). My unit test, in Visual Studio 2013, works just correctly and I am able ...
Jay Cummins's user avatar
  • 14.7k
2 votes
3 answers
232 views

How to get ESRI Addin to read the System.ServiceModel configuration?

I have a complex set of add-in's that we need to run in ArcMap, ArcServer, and ArcGIS Explorer for Desktop. We are experimenting with changing from the old Web Reference service connection to a WCF ...
SASS_Shooter's user avatar
2 votes
0 answers
238 views

Adding a button from an add-in to a TOC context menu

I would like to add a button to a group layer context menu in the table of contents. The button is from an add-in that also contains an extension. Should be straight-forward enough. The extension ...
dbrandon's user avatar
1 vote
0 answers
2k views

How to resolve an InvalidCastException for two Objects of the same type in an ArcMap AddIn?

I'm trying to work through an InvalidCastException that is being thrown when a form is displayed from an ArcMap Addin. This is a fairly recent occurrence and I haven't identified what has changed that ...
Jay Cummins's user avatar
  • 14.7k
1 vote
0 answers
148 views

How to make a custom properties dialog for a custom text background

I'm developing a custom text background in ArcObjects like in this example. I would like to know if it is possible to make a custom properties dialog to set up parameters of this text background. It ...
superrache's user avatar
1 vote
1 answer
439 views

Using custom xml file with ESRI addin and deployment

I creating an addin for ArcMap - but my code needs to read from an xml file to generate a dynamic form - I have put the form in the AppData folder as I don't think I can read from an xml file wrapped ...
Vidar's user avatar
  • 1,870
2 votes
1 answer
1k views

How to add multiple shapefiles with VB.Net

I have created a toolbar add in for arc with a button that opens a form with 3 selections that are shapefiles, once the shapefile is selected I click the Add Layer button. Currently I can only get one ...
user26835's user avatar
4 votes
1 answer
327 views

How to call ESRISignAddIn Silently (no UI)?

I am creating a build workflow and I ran into some problems. When I call ESRISignAddIn.exe from the command prompt it is throwing up a dialog saying "Add-In successfully signed". I was expecting it ...
user25540's user avatar
-2 votes
1 answer
483 views

On Mouse Up Event in ArcMap Add-In? [duplicate]

Does anyone know how to wire up mouse events on a map document? I have found a bunch of example code on how to wire up Add-In tools, but the Add-in I'm creating is a button. It should be as easy as ...
user19055's user avatar
1 vote
0 answers
244 views

Forcing ArcMap Add-in ComboBox to refresh using ArcObjects? [closed]

I am having problems with an add-in combobox that doesn't refresh. When the currently selected item is removed from items collection, the name remains visible in the text area. It should show the ...
jger's user avatar
  • 137
2 votes
2 answers
144 views

Is it possible to create an addin for a specifc MXD?

I am currently in the process of creating Addin's and also converting our VBA projects to .NET addins. With the VBA applications, they would only work with specific MXD's. Is this possible to do with ...
MapMan's user avatar
  • 2,164
2 votes
1 answer
269 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...."). ...
jger's user avatar
  • 137
3 votes
3 answers
2k views

How to get Database name for layer in ArcObjects?

I am writing an ArcGIS ArcMap Add-In and need to determine what database a given layer from. How can I determine this information? I attempted to use the FeatureLayer to get a FeatureClass, and then ...
auujay's user avatar
  • 133
1 vote
1 answer
290 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. ...
KFP's user avatar
  • 255
1 vote
0 answers
115 views

ArcMap open map via add in using C#

I just started working with ArcMap and I have a question: How can I make the add in I made in C# to open a map automatically in ArcMap? Just want to know what function to use or if it's even possible....
Loko's user avatar
  • 271
1 vote
1 answer
2k views

Creating windows form based tools as add-ins in ArcMap using vb2010 [closed]

I am writing a project in vb2010 in which i want to add a package having 4 toolbars with about 48 tools in them in ArcMap 10.0. So far, I have created an ArcMap class project with the common functions ...
Swanand's user avatar
  • 87
1 vote
1 answer
999 views

Unregistering Addin using ESRIREGADDIN

I am struggling to find right syntax for unregistering addin using a bat file. path=%path%; "%CommonProgramFiles(x86)%"\ArcGIS\bin\ESRIRegAddIn.exe {5980f3b2-f335-47c4-bfd4-bfa181dd9c4d} /u Problem ...
GISWEB's user avatar
  • 73
5 votes
2 answers
230 views

Is there a way to control which ArcMap AddIn is loaded first?

I have a shared DLL that use across multiple ArcMap AddIns. It rarely changes, but recently I've had to modify it and I started getting MissingMethodExceptions whenever I made calls to classes in ...
Jay Cummins's user avatar
  • 14.7k
1 vote
1 answer
408 views

Is it possible to disable an extension addin on start-up?

I am currently creating an addin, that can be toggled on/off from the extension manager. What I want to do is when ArcMap is being loaded, to check the license level being used (which I have done), ...
MapMan's user avatar
  • 2,164
2 votes
1 answer
2k 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, ...
Jakub Sisak GeoGraphics's user avatar
3 votes
1 answer
2k views

How to close the current mxd document through arcmap add-in

First, I open a mxd document named A in arcmap, then i use my add-in to generate another mxd document named B, then I use ArcMap.Application.OpenDocument(arcmapMapFileName); to open the document,...
Hmily Shao's user avatar
1 vote
1 answer
97 views

ArcGIS 10.1 - Re-writing an add-in application from processing an SDE Geodatabase to processing a file Geodatabase

ArcGIS 10.1- I am planing to re-write an Add-in application targeting SDE Geodatabase(ArcObjects) to an add-in application targeting file Geodatabase. The Add-in application is a Tool that allow the ...
Amo A.'s user avatar
  • 73
6 votes
3 answers
5k views

What is the target .NET Framework of ESRI ArcObjects SDK 10.2

I had ArcMap 10 Add-In project built with ArcObjects SDK for .NET 10.1 where I could not reference external COM DLL build on .NET 4.0 due to a .NET forward compatibility issue. (ArcObjects SDK 10.1 ...
mitaka's user avatar
  • 737
2 votes
1 answer
2k 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 ...
mitaka's user avatar
  • 737
2 votes
2 answers
315 views

Executing Python script from .NET AddIn and also write its standard output and geoprocessor messages to ArcMap Python Window?

Can a Python script be executed from a .NET AddIn and also write its standard output and geoprocessor message to the ArcMap Python Window? I have no problem call python scripts with Process.Start or ...
Jay Cummins's user avatar
  • 14.7k
3 votes
1 answer
1k views

Pythonaddins SaveDialog filter

If you look in the ArcGIS 10.1 help, the Pythonaddins module SaveDialog shows the following: SaveDialog({title}, {name_text}, {starting_location}) But if you open the python window in ArcMap, you ...
Kenton W's user avatar
  • 1,085
3 votes
0 answers
170 views

How to achieve the statusbar as the same effect with the arctoolbox‘s tool called in ArcMap add-in?

How to achieve the statusbar as the same effect with the arctoolbox‘s tool called in ArcMap add-in? i do not know how to use the progressbar as a result of my project involves in a large mount of data ...
Hmily Shao's user avatar
1 vote
2 answers
1k views

How to Disable the add-in button when ArcMap is started?

Question 1:How to Disable the add-in button when the ArcMap started,then I use the SelectByRectangletool select features,then the button enabled! I am a fresh man about the add-in. Question 2:I made ...
Hmily Shao's user avatar
11 votes
3 answers
5k views

What are pros and cons of Python add-ins vs .NET add-ins to ArcGIS for Desktop?

I found in ESRI .NET help: Python All ArcGIS Desktop applications include an embedded scripting language called Python. Many areas of ArcGIS—particularly geoprocessing—are accessible through ...
user7172's user avatar
  • 1,529
1 vote
0 answers
164 views

Why does DataGridView data not update for ArcMap add-in?

I have created a dockwindow(name:FrmWellConfig) with a datagridview(datagridview1) control in a new ArcMap add-in project. I then bind the data: datagridview1.datasouce=wellconfig.tables[wellcolunms]...
Hmily Shao's user avatar
1 vote
1 answer
2k views

OpenGeo GXP Examples

Looking at GXP examples here they do not list the dependencies within the JavaScript file, so I was wondering how to make the files work. I would assume just copy the JavaScript file, e.g. viewer into ...
Tom's user avatar
  • 398
1 vote
1 answer
342 views

Unable to deploy add-in updates (ArcGIS Explorer build 2500)

I'm having trouble deploying updates for an add-in developed for AGX Desktop (build 2500). The initial deployment is fine. If I copy my addin.eaz file to the ‘C:\Users[user]\AppData\Roaming\esri\...
Glen411's user avatar
  • 21
4 votes
1 answer
1k 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 ...
mitaka's user avatar
  • 737
3 votes
0 answers
2k views

How to wire ESRI.ArcGIS.Desktop.AddIns.Extension to a custom AddIn Button click event?

I am developing custom ArcMap toolbar with various AddIn tools, button and extension. I see the sample how to access the ActiveView events in the extension Initialize() method. private void ...
mitaka's user avatar
  • 737
2 votes
2 answers
766 views

Adding "SelectByRectangle" tool to ArcMap custom toolbar Add-In

I am able to show the other esriArcMapUI selection tools in my custom toolbar, but "Select By Rectangle" does not appear. What is the correct Tool refID of it? <ESRI.Configuration xmlns="http://...
mitaka's user avatar
  • 737
3 votes
2 answers
279 views

How can I hide a tool from command window under category

I have created a tool, a button and a dockable window under one project. To open/close the dockable window, button is used. For some specific work, by clicking some specific button from dockable ...
Emi's user avatar
  • 2,425
1 vote
1 answer
444 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 ...
alavi's user avatar
  • 11
1 vote
1 answer
935 views

ArcObjects IDataset.Copy causes program to crash

My implementation of IDataset.Copy continues to crash and I cannot figure out why. The program attempts to copy a shapefile from a temporary folder in one directory to a final folder in another ...
Conor's user avatar
  • 3,032
8 votes
2 answers
3k views

ESRI ArcMap Add-in Config.esriaddinx

I'm in the process of converting an older ArcMap extension to an Add-In in C# and I am trying to best take advantage of the XML based configuration. Config.esriaddinx works great for the basic set up ...
petegis's user avatar
  • 81
1 vote
0 answers
199 views

ArcGIS Add-In Project to Standard Library Project

I have been developing an ArcGIS 10 Add-In tool, but requirements changed halfway through development. Fortunately, this isn't changing any of the code, but I just need to be able to compile the ...
Logan B. Lehman's user avatar