Tagged Questions
1
vote
1answer
40 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 ...
2
votes
3answers
79 views
ARCObject query
I'm using ArcGIS 10.1 and developing an application using visual studio 2010 and ARCObject SDK 10.1.
I would like to use identity tool in my application and if not possible I want to execute a query ...
1
vote
0answers
46 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 ...
1
vote
1answer
119 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
113 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
0answers
140 views
Why do I get an error when using CalculateField in a loop with a Windows form?
I have developed a command button for ArcGIS 9.2 (Visual Studio 2005) that copies the selected features of a featureclass to a shapefile. It then examines the attribute table of the shapefile (via a ...
1
vote
0answers
49 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 ...
0
votes
0answers
49 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 ...
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 ...
3
votes
1answer
484 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 ...
1
vote
1answer
385 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" ...
-1
votes
3answers
588 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 ...