Graphic with LineSymbol not displayed on GraphicTracker
ArcGIS Engine 10.1 for Java I'm using the ESRI ArcObjects Java sample "AddPointGTCommand" to test the GraphicTracker performences. (from http://resources.arcgis.com/en/help/...0000068z000000). I was...
View ArticleQuestion about how to design a web service
Hi all I am currently creating a web service in ArcGIs 10.0. The service takes an address, geocodes it and addis it into a point layer to represent a client call request. The question is about what is...
View ArticleTableframe in VB.net?
Ewan Middleton's solution in VBA seems to not work in VB.net. http://forums.esri.com/Thread.asp?c=93&f=992&t=57798 It gets hung up on ITableFrame. Is there an Imports statement I need to use?
View ArticleBinding stand alone application to ArcGIS for Server
I am building a stand alone .NET applications using ArcObjects. I want to run it on the server, where I have ArcGIS for Server. I am trying to bind the license at runtime to the ArcGIS server runtime....
View ArticleIntersection of two feature
Hi forum I need your help. I would like to create a function that calculates the intersection area of two features. I use ArcMap 9.3.1, ArcObjects 9.3 and .NET language (particularly C#). I would...
View ArticleSetting Extent and Mask properties for Geoprocessor not working
Hi I am using Geoprocessor in VB.NET and was trying to set the extent so my process is constraint by this extent. When I set the property 'gp.SetEnvironmentValue("extent", "-450554.414000,...
View ArticleIQueryDef problem.
Hi. My enviroment is Arcgis 9.3.1 SP2 and SDE. I have a problem constructing a QueryDef. I need a self join but it is a problem since a cannot use aliases in a QueryDef. My SQL query is something like...
View ArticleAttribute Window is not refreshed after programatically clearing selections.
Hi Everybody: I am using an event handler to automatically clear all the selections when a point in a specific layer is created. The clearing works for the attribute table of the layer and the...
View ArticleEmpty FeatureClass with Invalid Extent
I ran into an interesting situation today. I am doing some spatial reference changes to an SDE geodatabase. For the most part, my process of changing the spatial reference, updating the X/Y coordinates...
View ArticleAdd-in extension - Spatial reference changed event
Hi, is there any way how to wire SpatialReferenceChanged event from my add-in extension class? I tried to do something like: Code: protected override void OnStartup() {IActiveViewEvents_Event...
View ArticleGraphicTracker fails with AccessViolationException
I am developing an application using the GraphicTracker to display moving icons. I am using the Windows.Forms.Timer event to suspend the display updates for two seconds. I have another couple...
View ArticleAdd Graphic (point) to mouse click location
Should be a simple task, so I assume I'm just overlooking 1 simple thing. Just trying to add a dot to the map at the location of mouse click. My layer gets added into the map fine, and my X&Y...
View ArticleSystem.InvalidCastException when using PublisherControls.ARLayer
I'm writing an add-in for ArcMap 10.0 using VB.Net and I'm running into an Invalid Cast Exception. The error message is: Quote: System.InvalidCastException: Unable to cast COM object of type...
View Articleappend data from sde feature class to an other hangs
Hi, We have a process in vb.net (arcgis 10.1) that is used to delete sde feature class on a oracle db instance and then append the data from an other database instance. Many tables are proccessed one...
View ArticleIntersect, Union are failing on 10.1
I am migrating .NET code that was running against 9.3, to make it work for 10.1. There is part of the code that is failing when migrate to 10.1 and was working on 9.3 The code was doing intersect...
View ArticleHow to extend a new AO ILineStroke2 interface?
Hi all, i want to draw line feature in Representation using GDI+ to Anti-aliasing Geometric effect. may be i can write a named "ILineStroke2" interface,and implement ILineStroke2.Draw() function. is...
View ArticleIVersionEvents - not firing
Hi, We have a senario to catch the VersionChange event in ArcMap, to achieve this we try to implement the IVersionEvents , IWorkspaceExtension2 and IWorkspaceExtensionControl interface and registered...
View ArticleDrag & Drop an Item into ArcMap
Hello, I am looking for the right Object Typ to put in the DoDragDrop() Function. I tried it with an IName Object and an IDataObject but ArcMap does not accept these Typs. The Drag&Drop even works...
View Articledouble precision using IPixelBlock3 and setPixelData
Hi all I'm trying to to write a double[][] array to a IPixelBlock3 instance using Java. Here is an abstract of my source. Code: IRasterWorkspace2 workspace = new IRasterWorkspace2Proxy(new...
View ArticleSelect Features by Graphic
I'm looking for code that does exactly what the "Select by Graphics" tool does. I have the graphics selected, just need the next part of the code. Does anybody have code they can provide?? Thanks
View Article