Tagged Questions
1
vote
1answer
34 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 ...
0
votes
1answer
24 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 ...
2
votes
1answer
88 views
Write string to status bar that doesn't go away
I'm attempting to write the number of items matching a given query to the statusbar. when i debug through the code, i am able to step through and see the message hit the statusbar, but then it ...
1
vote
0answers
79 views
What is the correct way to handle assembly resolution in .NET ArcGIS add-ins?
This has been a thorn in my side for some time now -- in .NET ArcGIS add-ins, assembly dependencies packaged with the add-in are often not resolved correctly. I am still not sure why and under which ...
2
votes
0answers
125 views
Recommendations on an MVVM framework for ArcGIS Desktop add-ins and/or ArcGIS WPF Runtime
Is anyone using an MVVM framework with ArcGIS Desktop add-ins or the ArcGIS Runtime for WPF?
I am leaning towards Caliburn.Micro simply because it seems to be the most popular "lightweight" MVVM ...
4
votes
2answers
132 views
Possible to Call ArcPy Script From AddIn in ArcGIS 10.0?
Is it possible to call an ArcPy script from a Java/.Net addin in ArcGIS 10.0?
4
votes
3answers
171 views
Is it possible to target an ArcMap add-in to an earlier version?
My development environment is Visual studio 2010 with ArcGIS Desktop 10.1 installed.
I need my add-in to support 10.0 AND 10.1. Right now, if I try to install it on ArcMap 10.0, it fails.
Is it ...
2
votes
1answer
109 views
How to create multiple dockable windows?
I am building an add-in and I have several different windows, which I open with the code below. This works fine. However, how can I create the same window n times?
UID dockWinID = new UIDClass();
...
2
votes
0answers
97 views
custom dialog box for data and options settings
I want to design a custom dialog window where i can select various datasets of choice using scroll down option and specify some conditions and thresholds. Right now i am using python addins within ...
0
votes
1answer
117 views
pythonaddin button return value
I have asked this question a while back but within arcgis environment without using addin. Now i am trying to do the same task to get pixel value when user click anywhere on screen, to use in later ...
3
votes
1answer
69 views
How to use IDatabaseCompact.Compact() on an used IWorkspace, without permission denied
I am writting an ArcMap-AddIn with vb.net. I get an error when trying to compact my IWorkspace(mdb), the error is:
COMException
You tried to open a database, which was already opened by the ...
2
votes
1answer
164 views
Problem Docking Add-In Toolbar in ArcGIS 10 SP4/5
I have developed an Add-In Toolbar for ArcGIS 10. It docks just fine on my development computer (which is running 10.0, no service packs according to ESRI's patch finder). It has been deployed to ...
3
votes
0answers
93 views
Is it possible to add a command to the ArcMap Find dialog context menu?
I think I already know the answer to this... which is "no", but I wrote this up so I'll ask anyways.
Is it possible using ArcObjects to extend/customize the ArcMap Find tool/dialog by adding a ...
6
votes
2answers
289 views
How to find all ICommandItem instances of a custom button command in an ArcMap add-in?
I have an ArcMap 10.0 add-in in which I have a button that the user can place (using the Customize dialog in ArcMap) on any toolbar including user-created toolbars as well as standard ones or even 3rd ...
4
votes
1answer
210 views
Is an ArcMap 10.0 Add-In compatible with ArcMap 9.3?
I'm working on an Add-In for ArcMap 10.0 in .NET version 3.5. This add-in works fine with ArcMap 10.0. Now I want to use this add-in in ArcMap 9.3. But I couldn't add Add-In .dll file in ArcMap 9.3.
...
3
votes
1answer
681 views
How to make a WPF Window be a well-behaved child window of ArcMap?
I am pretty familiar with Windows Forms in ArcGIS but WPF, which I'm just starting to tinker with, seems to be a different animal. I've created an ArcMap add-in with a button that displays a Window ...
3
votes
2answers
231 views
Get the geometry from the lasso selection tool
I'm building an Add-in solution in ArcGIS 10 that contains a custom tool. I'd like to borrow the functionality of the lasso selection tool without reinventing the wheel. Is there a way to intercept ...
7
votes
1answer
581 views
Is there a line symbology that also shows vertices?
Is there such a thing as a line/vertices symbology? If not a workaround? In some situations, particularly when editing, I would like to see my lines as well as all the vertices similar to the effect I ...
3
votes
1answer
184 views
Can an ArcGIS Addin be aware of whether it was installed from a shared folder or installed though the the Addin file?
I am distributing an Addin for ArcGIS, and I love when you point the Addin manager to a folder, updates automatically get applied on the next restart. However, when you click on an Addin, it takes ...
1
vote
0answers
206 views
how do you create an editable combobox addin for ArciGIS using Eclipse
Arc have a walkthrough to take you through this. Looks like I'm still crawling. The walkthrough can be found here:
...
1
vote
1answer
532 views
ArcObjects: Setting image of a command button to a partially transparent bitmap
In an ArcMap 10 add-in, I am attempting to create a toggle button of sorts whose image changes based on the button's state.
This answer describes how to set an add-in button's image programmatically ...
4
votes
2answers
286 views
ArcObjects: How to measure the draw time of a layer in ArcMap?
I'd like to quantitatively measure the display performance of mosaic datasets, image service layers, raster layers, feature layers, etc. in ArcMap 10.
How can I measure the draw time of a particular ...
6
votes
1answer
454 views
How to attach GP script tools, standard tools, and Python script to a toolbar?
I need to build a custom toolbar that can launch the following items:
A Python script tool - shouldn't be a problem, as you can already
attach these to a toolbar
Out of the box functions such as the ...
4
votes
1answer
213 views
How to find the service pack level in ArcGIS Addin?
I can query the current version from RuntimeInfo.Version. But I would also like to know what service pack is also installed. Do I need to just check the registery key ...
4
votes
1answer
182 views
List all active extensions with ArcObjects
I am building an ArcGIS 10 Addin that dumps out as much debug information about a system that I can get. I am currently trying to query which extensions are active in the ArcMap session. The following ...
2
votes
0answers
131 views
How to get a AddIn to appear in customize mode categories?
I was hoping that someone here might have tried this, it seems like it could be a simple error somewhere. I was running the sample AddIn that was provided by ESRI and it worked fine until I tried to ...
3
votes
2answers
583 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 ...
3
votes
2answers
954 views
How to create a report from selected features in ArcMap
I am new to ArcGIS and I am trying to create an Add-In button which can
figure out which polygons are selected and
query the selected polygons to generate a report on the underlying metadata ...
3
votes
1answer
130 views
Can you change the add-in filename without changing the Visual Studio project name?
My solution has several projects in it, one of which is an Add-in project, and I'd like to keep the naming convention of all of the projects intact but change the filename of the generated .esriaddin ...
4
votes
1answer
145 views
Is there a way to automatically increment the Version value in the Config.esriaddinx file?
I don't think there is an out-of-the-esri-box way to do this, but has anyone hacked up a way to change this value automatically for a build? Perhaps using a pre-build event command?
2
votes
1answer
58 views
Is there a way to retrieve the version of the ArcMap Addins currently loaded?
The Addin system doesn't seem to be perfect. When I update the Addin in the network share, the version number immediately gets updated in the ArcMap Addin Manager, even though the updated binaries ...
2
votes
1answer
365 views
How to disable ArcMap Addin combo boxes to not allow extra text next to them?
I am developing an Addin for ArcMap 10. There are two combo boxes that I use. On several of my users's computers, they get this extra text next to the combo box. It appears it is text from the ...
5
votes
1answer
454 views
ArcGIS 10 Add-ins - How to adjust the size of an add-in toolbar?
I've built an add-in toolbar with two buttons. Works great, but I'd like to make the toolbar a little wider so that the user can see it's full caption. Is there a property I can adjust in the ...
2
votes
2answers
2k views
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 ...
1
vote
2answers
456 views
Select By Attribute using geoprocessing without using layers?
I am selecting features based on attributes within an ArcGIS Add-In. The selections are pretty simple(e.g. "DESCRIPTION = left"). Is there a tool or method of doing this that doesn't require passing ...
5
votes
1answer
579 views
ArcGIS 10: AddIn Extension loading toolbox issue
I have an extension class in an ArcMap addin project of which loads a custom toolbox into ArcToolbox when the user opens ArcMap or opens a previously created map. My toolbox gets added to ArcToolbox ...
6
votes
1answer
750 views
ArcGIS 10 add-in: ComboBox add-in component focus issue
Update 9/9/11: Here is a minimal example project that will reproduce the issue for me (VS 2008 solution): http://wfurl.com/09061bf
I have an ArcMap 10 add-in with a ComboBox class that I place on a ...
3
votes
2answers
438 views
ArcObjects: IMapEvents.FeatureClassChanged doesn't fire if the layer's previous data source was invalid
Is there any other event besides IMapEvents.FeatureClassChanged that will be fired when a layer's data source changes? FeatureClassChanged doesn't seem to fire if the layer's previous data source was ...
6
votes
14answers
3k views
Why can't the breakpoint be “hit” when debugging an ArcGIS 10 Add-In?
Now and then I run into the following problem:
I start debugging the Add-In and breakpoints are ignored. Almost seems like the communication between the IDE and the component is not working.
My ...
3
votes
1answer
268 views
How to programmatically access an Add-ins image?
From this thread:
Can you programmatically change the button image for a ESRI.ArcGIS.Desktop.AddIns.Button?
I've learned to change a command image programmatically, but... how can I programmatically ...
10
votes
2answers
565 views
ArcGIS 10 add-in: Top-level exception handling
The ArcGIS 10 add-in I'm working on is pretty simple -- just a tool control and a dockable window. I'm handling the specific exceptions I anticipate occuring at the source and throwing everything ...
6
votes
1answer
668 views
ArcMap Addin - add interoperability connection programatically
I'm currently building an add-in for ArcMap - ArcView using the .Net framework.
The user of ArcMap and the Add-in should access data published from WFS services.
I am aware that it is possible to ...
5
votes
1answer
1k views
ArcGIS 10 add-in: Bring dockable window to front
I have an ArcGIS 10 ArcMap add-in written in C# .NET 3.5 that implements an ESRI.ArcGIS.Desktop.AddIns.DockableWindow (which also inherits from UserControl) and an ESRI.ArcGIS.Desktop.AddIns.Tool that ...
4
votes
1answer
197 views
How can I view the Certificate of a code-signed ESRI AddIn (*.esriAddIn) without ESRIRegAddIn.exe?
For users with ArcGIS 10 installed, it's easy to view the certificate for a signed AddIn since it is presented to you in the Confirm Add-In file installation window.
Is there a way to view this ...
3
votes
1answer
378 views
Simplest way to add built-in commands to an custom add-in
Currently in Config.esriaddinx I have
<Button id="my_UniqueID" class="MyWrapperClass" caption="My Caption"
image="Images\My_Image.png" ...> </Button>
and then I implement ...

