preview symbol as bitmap (or image)
Hello to all I have found some discussion on previous forums on how to display a ISymbol as a bitmap. The problem is that it requires the size of a bitmap to be given to the conversion method. I am...
View ArticleArcGIS 10 problem with IGxDialog
Has anyone had the opportunity of updating an AO project from 9.2 to 10.0 and had issues with the IGxDialog object? I get a “ vshost.exe has stopped working” error every time I hit the following line...
View ArticlePartial length or ratio of a poly line?
Hello, If I have lines on my map and I use the graphic tools to draw a region that partially selects some of the line(s) in an area how do I determine the length of the line contained within the drawn...
View ArticleDisable the Data Frame Context menu when you right-click on a map in ArcMap
Hi, I have written a tool in my editor extension add-in that allows the user to select a feature from one layer with a left click and then select another feature with a right click, which then performs...
View ArticleArcObject for "Mark as Visited" option in conflict resolver during reconcilation
Hii All We are trying to automate reconcilation and post activity . But during reconcilation version having conflicts could not be reconciled. So we are trying to make "mark as visited" all the...
View ArticleSDE FeatureClass Privilege Management with ArcObjects
I have searched through the ArcObjects 10 SDK API and googled my ass of, but haven't been able to find what I am looking for, so thats the reason for me posting this question. Q1: How can I with...
View ArticleC++ error creating raster dataset
I am porting a plugin from 9.2 to 10.1 and am getting an error creating a raster dataset I have written a test harness to reproduce the problem which is as follows:...
View ArticleIGxDialog hangs when on sub forms
Hi, I have been tackling this error for days. I am in Arg10.0 Windows 7 using Engine. This all worked in 9.3, but now converting I have having some issues with accessing files. The following code works...
View ArticleHow to write the code using classic ASP to connect to ArcGIS server
Hi, Classic ASP is pretty new to me, but now I have to modify a ASP code. The following code is for server connection and now it is using ArcIMS server connection, but I have to convert it to ArcGIS...
View ArticleUnderlying DBMS error [ORA-00907: missing right parenthesis]
Hi, I am tring to query SDE Geodatabase with following query to find duplicate elments in a feature class Code: IQueryFilter subiqf = new QueryFilter(); subiqf.setWhereClause(fieldName+" In (SELECT...
View Articlegeoprocessor.execute() AutomationException, Java Arcobjects
Hello everyone, I'm trying to use the "Near" analysis tool and "Map to KML" conversion tools in java but both bring out the same error AutomationException: 0x80004005 - Unspecified error at...
View ArticleConnect to Arcgis server 10.1 through arcobjects
Hi I used to have an arcobjects JSP page, hosted under sun one, that connects to an 9.3.1 Arcgis server through arcobjects. I have upgraded the server to 10.1, and upgraded the arcobjects jar file to...
View ArticleURI is not hierarchical error while exporting java destop application
Hi, I generated a destop application using java swing and arcobject library within eclipse. It runs smoothly on eclipse but while running the exported jar file in console , it produces error ....
View ArticleWrong values for Geographic Transformation
Hi! I want to transform a number of points from MGI_Austria_GK_East to GCS_WGS_1984. When I do that in ArcMap (with the "Project" tool) everything works perfectly. Now I tried to do the same...
View ArticleADDIN: Help needed detecting changes in layers
Hi everyone. Hit a problem with an AddIn I've almost finished developing. Without going into detail, I need the AddIn to respond to any changes in datasources on layers and stand-alone tables....
View ArticleArcObjects 10.1 AutomationException: 0x80040154 - Class not registered
Hi I recently upgraded our ArcGIS server from 9.3.1 to 10.1. I used to have a JSP page, running under Sun one application server on the same machine where ArcGIS server is installed, that connects to...
View ArticleAnnotate Selected Features
Basically what I want to do is annotate selected pipe. The function is similar as ArcMap COTs function. (Select feature in ArcMap, right click layer name in TOC and select “Annotate Selected Features”)...
View ArticleError while updating Feature value of a feature class
Hi, I am trying to update my feature class via IWorkspace.edit session by using ICursor.update methord . Following is what i am trying to do Code: while ((row = cursor.nextRow()) != null){...
View ArticleInsert new Point to PointCollection
Hey folks around, when trying to update a features geometry by inserting a new point (using the IPointCollection-Interface) I run through an System.Runtime.InteropServices.SEHException which I can´t...
View ArticleRemove M and Z values using ArcObject?
Is there a way to remove M and Z values from featureclass using ArcObject? I know I can do it with python to export the featureclass to another gdb by disable M and Z values in enviroments settings. I...
View Article