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

FindVersion finds deleted versions

I have a custom version management tool that I use and it creates/deletes/etc versions on a SDE geodatabase. One thing I just noticed is that I can create a version using...

View Article


9.2sp5 VB.Net toolbar--> 10.0 Questions + Problems.

Dear Readers, i was able to recompile a 9.2 sp5 arcobjects toolbar that had an installer.vb file and an MS installer proj attached to it. as per the web pages, i had to add reference to add.local and 1...

View Article


about custom IbasicSymbol

hi everyone,i have write a simple custom component implementing IbasicLineSymbol by GDI+ that solves anti-aliased issue,but i find it inefficient ,ArcMap and arcgis engine application can not identify...

View Article

Casting IGeoDataset to IGeoDatasetSchemaEdit gives E_NOINTERFACE error

Hi. I want to alter the spatial reference of some layers of different types, the code executes but when it reaches the cast operation it gives an error message saying could not cast from...

View Article

Get Attributes from select feature on map using arcobjects

I want to get the attributes of the selected feature on mouse click from the map. Please help me with a C# sample code thanks

View Article


Closing / Ending a mxd

I have a dialog box with a cancel button on it. I want the whole mxd to close down when they click on the Cancel button. My button is written as such : Private Sub cmdCancel_Click() End End Sub What do...

View Article

Path to folder and mxd

I'm trying to program my Map button. I have a dialog box that has them select a type of station and then select a district. So if they select a type of station that takes them to a certain folder and...

View Article

After installation - toolbar is missing

Hello, I did my custom install step by step this guide: http://edndoc.esri.com/arcobjects/9....1a3824474a.htm Problem is - when I open ArcGIS I can't see my toolbar in the toolbar menu. Only way how to...

View Article


Cannot display graphic elements through Desktop Automation application

I'm using the Desktop Automation sample code for C# for ArcGIS 10.1 running on Windows 7. I have a main form with buttons for opening a ArcMap MXD, closing it and displaying number of selected features...

View Article


About InMemoryWorkspaceFactory

Hi, I am new to the ArcGIS Java,Can any one please give me some information about the InMemoryWorkspaceFactory and how exactly it can be used.I had gone through the ArcObjects Java API.I didn't get the...

View Article

Code for going to Folder and Drawing an mxd from that Folder!!

I have a dialog box that opens upon opening an mxd. The User picks type of station and county, then when they hit the map button it would go to the folder where the stations are and then go grab the...

View Article

VB.NET Display multiple Geosearch results

I've written a GeocodeAddress method which is a modified version of the SDK vb.net FindAddress sample. I'm using a local address locator and I can't understand how to make it return multiple results....

View Article

Command for accessing and Opening Folder to have access to mxd's in folder.

I am trying to open or access a folder that holds mxds. Code is below : Dim cboStations As String If cboStations = "Annual" Then File_Open "K:MAPPING\2012" ElIf cboStations = "Urban" then File_Open...

View Article


Access to sample scripts for VBA ArcObjects

Does anyone know where they keep the library for ArcObjects scripts for people to go borrow? No one can help me on my code to path to folder to access mxds.

View Article

Problem with IEnumGxObject in java

Hi All, I am trying to to use IGxDialog interface for browsing option. But DoModalOpen function on that does not populate selected files to EnumGxObject array. It gets null populated into it. Following...

View Article


ToolbarBean Class generates Automation Exception 0x80040112 -

The ToolbarBean Class generates the following StackTrace when run from the provided sample within Eclipse. java.lang.RuntimeException: AutomationException: 0x80040112 - at...

View Article

2 featureclass searches, first always works and second always fails

I'm getting some errors trying to do a search on a feature class. The first search always works but the second search seems to fail 80% of the time and its typically a crash on line "pFC4 =...

View Article


VBA Help with Subroutines and Functions

I have a command button going to open an mxd when said name is selected. My error is that my sub and function are not defined. Please lead me in the right direction for defining these. My code is below...

View Article

What's the difference between Private Sub and Public Sub

I am working in VBA what is the difference in Private Sub and Public Sub??

View Article

Table export with postfix clause failing with FGDB in 10.1 SP1

Hello, Anyone else having an issue with exporting data from a table in a file geodatabase using an IQueryFilterDefinition postfix clause in ArcGIS Desktop 10.1? Essentially: Code: IQueryFilter...

View Article
Browsing all 1374 articles
Browse latest View live