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

Image may be NSFW.
Clik here to view.

ArcObject 9.3.1 VBA Compile Error: Automation Error

I have written a code in ArcObject 9.3.1 VBA. It works fine in my machine both Windows XP and 7 system. But another machine have just updated to Windows 7 and the MXD can not be oppened now. It shows...

View Article


Programmatically start edit session on workspace and display error/warning...

Is there a way to programmatically start an edit session on a feature layer in ArcMap and have the Start Editing warnings/errors dialog be displayed if there are any issues? IEditor.StartEditing() does...

View Article


ArcMap UI menus emptied by add-in

I have an add-in that is wreaking havoc occasionally on the ArcMap UI, and I don't know where to begin to look for the problem. After using the tools in the add-in for a while, toolbar buttons and...

View Article

Run Report issues 10.1

I am trying to open a report using the Run Report Command: Code:         Dim pUID As UID = New UID         Dim pCmdItem As ESRI.ArcGIS.Framework.ICommandItem         pUID.Value =...

View Article

ArcGIS customization can't find additional files

Hello, I've made my first custom install program for ArcGIS step by step by this guide: http://edndoc.esri.com/arcobjects/9....1a3824474a.htm Only problem I have is that my application cannot see my...

View Article


Show flow direction with arcengine

Hi everyone I am working with geometric network and want to show arrows flow direction. I have established flow direction and then, I will show the arrows. But I do not know how to show it. Please help...

View Article

How to change page size of pagelayout ?

Hi, I have a A3 printer (size: 297mm x 420mm). But I am wanting to print my pagelayout with paper size is: 265mm x 380mm I tried to change the page size of my pagelayout to 265mm x 380mm by using the...

View Article

when i use CreateRepresentationClass function,only ruleid and override fields...

Hi ,all I'm using IRepresentationWorkspaceExtension.CreateRepresentationClass function in a ArcSDE featureclass, only ruleid and override fields create successfully in the featureclass, the...

View Article


"New Map File" analog

I have a simple code to create new document in ArcMap and add one layer from file (.lyr). Code runs on a click of add-in button. If I run this code, ArcMap always shows "Do you want to save..?" dialog....

View Article


Faulting Module: hd425m.dll

Recently had one of our applications crash and the Event Log showed that the faulting Module was Faulting module path: C:\PROGRAM FILES\ARCGIS\ENGINE10.0\BIN\hd425m.dll Just curious as to what the...

View Article

Use ArcGIS for Server license with ArcObject process

Hi, Is it still possible to use an ArcGIS for Server license in a ArcObject Java program? If yes, how to do so? What has been tried: Code:...

View Article

Image may be NSFW.
Clik here to view.

StyleGalleryItem Icon is too small

Hi I am working on a Engine Application in WPF that contains a pageLayoutControl and a SymbologyControl to choose North arrow and Scalebar styles. Somehow, after I have load the correct style file, the...

View Article

How to delete an existing ITable in inMemoryWorkspace

Hi together! I'm trying to delete an ITable in an inMemoryWorkspace but the following code doesn't work: Code: Public Sub deleteTableInWorkspace(ByVal pTable As ITable)         Dim pDataset As IDataset...

View Article


Change Query for Query Layer with code

i currently have projects that add a map layer from our sql postgres (Postgis) to a project. my problem is how to change the connection of datasource (connection with postgres) by code (arcobject...

View Article

Map Extent off in 10.1 Engine app

Has anyone else seen this? We have a ArcGIS Engine app with several shapefiles (cities, countries, etc) and wsiearth. I just updated this Engine app to 10.1 from 9.3.1. When the app starts now the map...

View Article


form ShowDialog in an editevent

Here in my workflow: 1. Click a button on a toolbar - edit session starts 2. Listen for the OnSketchFinished event of the editor 3. Display a data entry dialog for the user to fill in 4. Click the OK...

View Article

How to move all elements of PageLayout to left (right, right, up, down..) 5...

Hi, Are there anyone know how to move all element (text, line,) of a PageLayout (in GraphicsContainer) to left (or right, up...) 5 cm using C# ? Thank you very much !

View Article


IRasterCatalogLayer Statistics?

I am trying to apply some existing VBA code that works for a Raster on a RasterCatalogLayer. The existing code sets up a new renderer and classifies it with a specific minimum and maximum value for the...

View Article

How to Draw Band segment of the line

Excuse me . I am a programmer from China and please forgive my poor English. These days I am trying to do a function to draw a line with band segment or arc,or a polygon with ring,just like the same...

View Article

geoprocessor message event not fired by ArcGIS for Server (10.0,win2008)

Anyone know what may I do to force geoprocessor to fire message events when running at ArcGIS server ? (10.0) ... tried different approaches using both ESRI.ArcGIS.Geoprocessor and newer...

View Article
Browsing all 1374 articles
Browse latest View live