3
votes
2answers
429 views

How to Get my Custom Toolbar to popup when my Custom Extension is Enabled?

I am developing a custom extension for ArcMAP in Arcgis 10, and would like to display my Custom Toolbar automatically instead of having the user to select it from the customize window. Is this ...
0
votes
0answers
71 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 ...
8
votes
16answers
8k 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 ...
2
votes
1answer
667 views

Why is sometimes geometryType not returned in JSON from ArcGIS Server layer REST API?

Does someone know why the geometryType not always get returned from ArcGIS Server layers? According to the API documentation Layer / Table the geometryType is returned on layers: //properties ...
4
votes
1answer
12k views

How to register dll extension with RegAsm.exe on Windows 7 64bit ArcGIS 10 SP1?

I am having some issues with registering a dll: run DOS as Administrator CD "C:\Program Files (x86)\Common Files\ArcGIS\bin\" (where the ESRIRegAsm.exe is) I attempt to register the dll as follows: ...
3
votes
1answer
817 views

How can I programmatically add a new feature template to the “Create Feature dockable window”?

This is a new question but a continuation of this post: How can I programmatically display the "Create Features" dockable window in ArcMap 10? I like the new template system in ArcGIS 10 but for ...
5
votes
1answer
2k views

How can I programmatically display the “Create Features” dockable window in ArcMap 10?

When I start editing in ArcMap 10, by default the "Create Features" window is automatically opened and docked. Stopping the edit session hides this window. When I use the IEditor:StartEditing method ...
2
votes
4answers
2k views

How to set a definition query for an AGS layer?

Is it possible filter out some features using a definition query set from the client on a AGS layer? I've checked out the map server layer but it only supports find and identify. Also looked at WMS, ...
5
votes
2answers
2k views

How can I disable and enable an ArcGIS 10 Add-In button?

Is there a way to enable / disable Add-In buttons / tools?
7
votes
1answer
2k views

ArcGIS 10 Add-In compile problem - Why are new edits to code igonred by ArcMap?

I've been compiling and debugging my Add-In (a toolbar with a few menus, custom commands, custom selection tool and a context shortcut menu) with no issues until suddenly the edits and changes I do in ...
1
vote
2answers
191 views

How can I determine whether a feature class is a 3D feature class (HasZ)?

I would like to be able to determine whether a feature class passed to a procedure is a 3D feature class (hasZ) or not. How can I do this in VB .Net & ArcObjects?
2
votes
1answer
495 views

How do I install ArcGIS Developer help in Visual Studio Express 2008?

I would like to install ArcGIS 10 Developer help in VS Express (2008) so that it works with the F1 key. Is it possible? How?
5
votes
1answer
694 views

Why is SymbologyControl missing symbols in XP?

I'm using the the code form SymbolForm.vb in this sample: Change layer rendering using the SymbologyControl It's working great on my developer machine with Windows 7, 64bit. But when I deploy the ...
3
votes
1answer
480 views

Why is iSpatialFilter in an “Add-in” crashing ArcMap on Partial or Full refresh?

I am building a tool in my Add-in that is partially based on a .Net sample and partially on my former VBA tool. (Both work) My problem is that I would like to be able to only select features from the ...
5
votes
2answers
897 views

Is it possible to create add-ins with VS Express?

Last year, when version 10 was still beta, I contacted ESRI to recommend a migration path for VBA conversion. I was reassured that the free VS Express will be sufficient. Now in version 10 and with ...
5
votes
3answers
1k views

Where is the ArcGIS Snippet Finder?

I am just going through the "Building custom UI elements using add-ins" walkthrough. ArcGIS integrated development environment (IDE) is installed. No problems creating the ArcMap Add-on project until ...
2
votes
1answer
858 views

How to let user only rearrange layers in a group layer?

We have a stand-alone application were we let the users add local shape and raster layers. We would like to add functionality so that the user can rearrange the added layers within a specific group ...
4
votes
1answer
1k views

How to create images from symbol in ArcObjects?

I'm trying to create images from symbols so that I can create a custom symbol dialog. Found this sample code on the ESRI forums and it workes great on almost all symbols. I'm having problems with a ...
2
votes
3answers
3k views

Implement 'Zoom To Selected Features' in VB.Net

Seems like this should be dead simple. I'm writing an add-in for ArcMap 10 in VB.Net. I need code that will reproduce the 'Selection --> Zoom To Selected Feature' menu option.
1
vote
1answer
1k views

How to work with .lyr files in ArcGIS Engine

I want to be able to load .lyr files created in ArcMap and ArcGIS Engine and save any updates in symbology in ArcGIS Engine back to the .lyr file. What APIs should I use the only method I found so ...
5
votes
2answers
2k views

How to catch when scale is changed in ArcGIS?

We want to update a combobox so that it always shows the correct scale. If the user zooms-in, out or resizes the control hosting the map. What is the best event or events to catch and use in ArcGIS to ...
4
votes
1answer
787 views

How to catch when layers visibility change in ArcGIS?

I'm trying to regenerate a Legend in a Pagelayout whenever the layers visibility are changed in the TocControl. What is the best way to catch when a layer visibility is changed?
5
votes
1answer
825 views

Are there any good resources on WFS support in ArcGIS?

Are there any good resources on WFS support in ArcGIS? The only documents I found so far are these: How_to_work_with_WFS_using_ArcGIS_Desktop and Consommer des services/données WFS dans ArcGIS 9.2 ...
1
vote
0answers
205 views

AddData tool stop working after Interoperability connection has been used?

Bug in ArcGIS Engine? Has anyone seen this behavior? We get an exception from our ArcGIS Engine test projects after we had been testing the Interoperability connection in ArcEditor. We had to enable ...
6
votes
2answers
1k views

How to convert GML to features in ArcObjects?

How to convert GML to features and features to GML i ArcObjects? We are building an application where we want to communicate with a service with GML but natively in our stand-alone application we ...
1
vote
4answers
570 views

How to hide map to print only the legend on a PageLayout?

If I'm printing a Pagelayout, is there any API for hiding the MapFrame or stop it from getting draw on the printout? I would like to only print the Legend on the paper.
5
votes
2answers
1k views

How to filter Legend to show only visible features?

Is it possible to get the legend in a pagelayout to only show patches/swatches for features fall within the visible extent of the Map? The solution needs to work on FeatureLayers and ArcGIS Server ...
4
votes
4answers
2k views

Which API should we use for printing a PageLayout?

We are building an standalone ArcGIS Engine application and we are going to add support for printing. There are several APIs for printing a PageLayout in ArcObjects, in ArcGIS 10 there are at least ...