Firing DragDrop Event ba dropping a file on a Map
Hi experts, I would like to know, how I can fire a Map Event by drag-dropping Windows files (any type) on a Map (not the TOC). This should later facilitate the linkage of file(s) with shape layer...
View ArticleWhy the geometry can change when it is assigned to IFeature.Shape?
Hi Everybody: I wrote a program to generate geometries for linear features. However, I found that the geometries are slightly changed after assigned to IFeature.Shape. Following is my code: Code: //...
View ArticleIDocument defined in both esriframework.tlb and atlhandler.h when using...
I am attempting to port my project from VS 2008 to VS2010. When I try to compile I get the following error. 2010\src\esri\capturearcinfo\debug\esriframework.tlh(297): error C2872: 'IDocument' :...
View Articlereport automation local government
Hey guys I have been looking for this service and i have found this one local government performance management. I am not sure about the quality and its offering. Has anybody have look into this...
View ArticleConnecting events between ILayer and IScene
I have a custom layer for ArcScene in C++. When I create the layer from a command I use: ICommand::OnCreate(hook) and ISceneHookHelperPtr to get an IScenePtr. Then I connect the scene and the layer...
View ArticleIs there any way to get the Z-Coordinate when snapping?
Hi Everybody: I am writing some code to do snapping. When I snap a new point (with X and Y only) to an existing point feature (with XYZ coordinates). I will get the XY of the feature that it is snapped...
View ArticleVisual Studio templates for Visual C++ .Net
I am new to ArcGIS as well as coding using the ArcObjects SDK. I've installed the SDK on my computer and have been looking at the sample code that has been provided. I would like to know if there are...
View Articlereplicate select by location
Hi, I have a polygon shapefile containing several land parcels. I would like to identify which of these parcels would intersect to my other polygon shapefile by creating a single button. Steps on...
View ArticleGeoprocessor Statistics paramater
For the Statistics geoprocessor tool one of the parameters is the "statistics_fields". It calls for the fields you want to get statistics on as well as the type of statistic. In pyton, it looks like...
View ArticleMapControl ( DeleteLayer ) PMF "compressed" or "compressed and locked" file
My application ( 10.1 ArcObject ) crash any time when I try to remove the PMF ( compressed format ) layer file loaded on the map. I have a crash, when I delete it from the map ( myMapControl ->...
View ArticleProject Issue after Passing Military Grid System into Ipoint
Hi all, I'm using ArcGIS Server 10.0 sp5 .NET WebADF and NITK toolkit. I made a simple button to zoom to MGRS coordinates and would like the resulting X & Y values in UTM WGS84 14. Executing...
View Articleexecute raster calculator geoprocessing tool from vb.net
Hi, Need help with executing geoprocessing tool. I want to execute Raster Calculator from Map Algebra in VB.Net. Regards,
View ArticleControlsGlobeFixedZoomInCommand / ControlsGlobeFixedZoomOutCommand Commands
I wanted to understand how the ControlsGlobeFixedZoomInCommand and ControlsGlobeFixedZoomOutCommand commands has effects to the GlobeCamera. Based on observation, they modify the viewFieldangle of the...
View ArticleArcObjects fail when running scheduled task
Hi! We have an application that is used to load shp to sde, sde to sde and sde to shp using the exes to perform these tasks. You can run this application via a GUI, or in silent mode through a .bat...
View ArticleesriExtentBounds clears pMapFrame.MapBounds ?
Hello, I have a code that works in Arcgis 9.3 and I'm supposed to make it work in Arcgis 10.0. I'm new to Arcgis programming and to VBA, no answer will be too basic for me :) The code is : Code: Set...
View ArticleReference to a tool within an extension no longer working ...
Hello We have recently moved our computers from Windows NT to Windows 7, and at the same time we've upgraded from ArcGIS 10.1 to 10.2. I have an ArcGIS extension created in Visual Basic 2010, which had...
View ArticleControlsGlobeFixedZoomInCommand / ControlsGlobeFixedZoomOutCommand Commands
I wanted to understand how the ControlsGlobeFixedZoomInCommand and ControlsGlobeFixedZoomOutCommand commands has effects to the GlobeCamera. Based on observation, they modify the viewFieldangle of the...
View ArticleProblem with Initializing ESRI Application
Hi, I have below piece of Code in my C#.Net Program where I need to Call OnCreate method from Program.cs. But I am facing problem with sending an object hook which is of type IMxApplication. Can You...
View ArticleGet 'Parent' Group Layers for an ILayer
I'm creating an add-in for 10.0 in C#. Users will be working in MXD's that have nested group layers. They'll select a layer in the TOC to work on. In code, I get the selected layer in the TOC, and what...
View ArticlePoints to MultiPoints
Hi Sorry for my poor English I have a feature layer. Type feature class of the layer is esriGeometryType.esriGeometryPoint. Symbols of the layer is IUniqueValueRenderer and each point has its own...
View Article