Quantcast
Channel: Forums - ArcObjects SDKs
Browsing all 1374 articles
Browse latest View live

datetimepicker query dates in sql server

I have a form that has two datetimepicker's (From and To) I am trying to select dates from date time field. If I manually select dates with whereClause = "InspectionDate > '2012-09-04 07:50:41' AND...

View Article


How to build python script/tools for checking custom geometric network...

Hello I need to build custom tool using python to check geometric network and custom connectivity rules. Can someone help how to do that using python script/packages. Regards Naym

View Article


Image may be NSFW.
Clik here to view.

ActiveX Control Error

The error I'm referring to: “… threw an exception of type 'System.Windows.Forms.AxHost.InvalidActiveXStateException'” I have the ArcDesktop version 10.0 and the .Net SDK version 10.0 installed on my...

View Article

Intersect two polylines to produce third polyline on 10.1 is broken

So, I am migrating code from 9.3 to 10.1 SP1. The code is working on 9.3, but not on 10.1 SP1 After long fight I narrow the problem to this. In 10.1 I cannot do intersection between two polylines to...

View Article

Create Stand Alone Feature Class

Hi All, I have a real beginner question here. I am using this code from the Arc sample's, it is the CreateStandaloneFeatureClass. Basically, what do I place in the OnClick Sub to call this function? I...

View Article


Get Features related to Specific Version Only....

Hi. My requirement is to get Features in a Featureclass with a specific Version Only........ Using ArcObjects in C#, I am Getting Dataset of type Featureclass and then Features using IFeatureWorkspace....

View Article

Create line element with arrow symbol at end

I found this archived thread very helpful for creating a line with an arrow: http://forums.esri.com/Thread.asp?t=...hBwOuHeXW3MUO_ So, for anyone who wants to do the same thing in C#, here's some...

View Article

How to find features those are intersected by a feature in ArcMap python/C#

Hi I have some feature classes in ArcMap (Line, point types). I need to search by selected a feature (such as a point), that which ohter features in the ArcMap intersect that point feature. I need to...

View Article


Add-in ComboBox - Java

Why did the Java Add-in ComboBox not include a reference to the application in the initialize method? The other add-ins get that reference in their corresponding init methods. I can get the hook for...

View Article


Create Polygons Help

Hello all, This seems like such a simple task. I've been unable to create polygons programmatically. My basic goals are:Draw a polygon with a visual representation as it's being drawn Be able to...

View Article

Help with C# code

May be this is not a new post, but I did not find any solution for this, so... I have to layers one of points (cities) and another of lines (roads), I need to find the shortest distance between two...

View Article

License is unavailable for the server 10.1

I have ArcObjects .NET code that is running on a machine with ArcGIS for Server 10.1. The application worked on the dev server. But when I moved to Test server, I am not able to initialize the...

View Article

Visual Studio solution for ArcGIS 9.3 and ArcGIS 10.1

Hello, I have a project in Visual Studio for ArcGIS 9.3 and I need to develop the same applicattion for ArcGIS 10.1. Does anybody know how to keep my code for working in both versions ? I just want to...

View Article


IVersionEvents - 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 Article

Drag & 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 Article


double 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 Article

Select 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


datetimepicker query dates in sql server

I have a form that has two datetimepicker's (From and To) I am trying to select dates from date time field. If I manually select dates with whereClause = "InspectionDate > '2012-09-04 07:50:41' AND...

View Article

How to build python script/tools for checking custom geometric network...

Hello I need to build custom tool using python to check geometric network and custom connectivity rules. Can someone help how to do that using python script/packages. Regards Naym

View Article

Image may be NSFW.
Clik here to view.

ActiveX Control Error

The error I'm referring to: “… threw an exception of type 'System.Windows.Forms.AxHost.InvalidActiveXStateException'” I have the ArcDesktop version 10.0 and the .Net SDK version 10.0 installed on my...

View Article
Browsing all 1374 articles
Browse latest View live