|
POST
|
Probably not your issue but i figured I would share. I had a computer where the My Documents was pointed to a location I did not have permissions to. The application will crash in this isntance as it is trying to create and ArcGIS Explorer folder somewhere where it can't.
... View more
04-04-2011
09:48 AM
|
0
|
0
|
316
|
|
POST
|
I encountered same problem. Because, I have already added add-in to ArcGIS Explorer. Error message said that the assenbly '***' has already loaded from a different location. When I delete the add-in that is already added, I can load add-in. Your computer already has add-in? Please look at the following on your computer. C:\Documents and Settings\<User Name>\Application Data\ESRI\arcgis explorer\AddIns ArcExplorer can only load your add-ins once. If you manually add the add-in to your application and then try to load it from a config you will get the error. If you will be using the app config with the add-ins already added just remove them from your ArcExplorer Resouces - Manage Add-ins.
... View more
04-04-2011
09:46 AM
|
0
|
0
|
881
|
|
POST
|
You need to place your add-in on a tab to reference it. Here is how I usually do it. Go in and modify your config. Click customizations in the left column (right above add-ins). Click "Tabs" and click "Add New" from the menu on the right. Name it whatever you want. Click that new tab and the click "New Group" Name that whatever you want. Click that new group and select "Add Custom Control" from the right hand column. Click "Choose File" to select your add in. You should then be able to see your tools under the tab you created. There are also options available to set when and where you see the tab but you canplay around with that later. Let me know if you have any questions.
... View more
04-04-2011
09:43 AM
|
0
|
0
|
881
|
|
POST
|
So i have roughly 500K policies that I geocode monthly from an access database. The access database is populated from a Microstrategy report as I do not have direct access to the policy server. Most of the policies have previously been geocoded. The geocoded results are currently saved in a file geodatabase. I would like to create a workflow where I would only have to geocode new policies and not all policies every month. Any ideas? Can ArcCatalog geocode back to an access database? PS. I only have an ArcView license. Thanks in advance.
... View more
04-04-2011
05:38 AM
|
0
|
7
|
1358
|
|
POST
|
Donna- Actually this thread started yesterday. I think you were looking at my "joined date". Anyhow, I have still not found a solution and am still investigating.
... View more
03-31-2011
07:39 AM
|
0
|
0
|
1264
|
|
POST
|
I am having an issue searching using VB.NET. I am using the following to search a file number but it needs to be entered exactly as in the table. Dim SrchStr As String = "File_Numbe = " & SrchTxt I want to be able to enter a patial number and give me the matching results. I have tried the following with no success. Any ideas? Dim SrchStr As String = "File_Numbe LIKE % " & SrchTxt & "%" Dim SrchStr As String = "File_Numbe LIKE '% " & SrchTxt & "%'"
... View more
03-30-2011
08:05 AM
|
0
|
12
|
2158
|
|
POST
|
If you are familiar with the .NET SDK, I use the following code in an add-in to export items from a data grid view. I implemented this in the Query Features sample provided with the SDK. Private Sub buttonExport_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles buttonExport.Click Dim xlApp As Microsoft.Office.Interop.Excel.Application Dim xlWorkBook As Microsoft.Office.Interop.Excel.Workbook Dim xlWorkSheet As Microsoft.Office.Interop.Excel.Worksheet Dim misValue As Object = System.Reflection.Missing.Value xlApp = New Microsoft.Office.Interop.Excel.ApplicationClass xlWorkBook = xlApp.Workbooks.Add(misValue) xlWorkSheet = CType(xlWorkBook.Sheets("Sheet1"), Worksheet) For Each col As DataGridViewColumn In dataGridView1.Columns xlWorkSheet.Cells(1, col.Index + 1) = col.HeaderText For Each rowa As DataGridViewRow In dataGridView1.Rows xlWorkSheet.Cells(rowa.Index + 2, col.Index + 1) = rowa.Cells(col.Index).Value Next Next xlApp.Visible = True End Sub
... View more
03-30-2011
08:01 AM
|
0
|
0
|
602
|
|
POST
|
I modified the query features add-in sample that came with the SDK. I essentially added an export button which will export the points that were selected to an excel spreadsheet. This will only work with a point layer from a shapefile or geodatabase. Hopefully that is what you are looking for.
... View more
03-29-2011
09:01 AM
|
0
|
0
|
602
|
|
POST
|
I am looking to build off of the Query Features sample. Instead of drawing a polygon so select, I am looking to use the polygons inside a shape file. The issue I am having is I am not sure how to identify the contents of a shape file as a point, line, or polygon. I can identify the layer type with the following but not the shape types. For Each item As MapItem In fold.ChildItems If TypeOf item Is Layers Then Any help is appreciated.
... View more
03-23-2011
12:05 PM
|
0
|
2
|
917
|
|
POST
|
Instead of a button, you could implement it as an Extension. http://help.arcgis.com/en/arcgisexplorer/1500/sdk/conceptualhelp/index.html#/Walkthrough_Creating_a_custom_Extension/00020000003p000000/ I tossed that idea around but for my purposes I preferred a button. I didn't need all layers to refresh but just ones I was actively using. Some layers are also static so keeping them cached seems to allow evertything to open a little faster. I also have issues with some layer symbology disapearing when navigating around the map. My clear cache button allows me to quickly refresh the layer.
... View more
03-11-2011
09:55 AM
|
0
|
0
|
1064
|
|
POST
|
I created a work around as an Add-In. The following will clear the cache on the selected layer. Imports System Imports System.Collections.Generic Imports System.ComponentModel Imports System.Data Imports System.Drawing Imports System.Linq Imports System.Text Imports ESRI.ArcGISExplorer Imports ESRI.ArcGISExplorer.Application Imports ESRI.ArcGISExplorer.Geometry Imports ESRI.ArcGISExplorer.Mapping Imports ESRI.ArcGISExplorer.Data Imports ESRI.ArcGISExplorer.Threading Public Class CacheButton Inherits ESRI.ArcGISExplorer.Application.Button Public Overrides Sub OnClick() Dim xlayer As Layer = TryCast(ESRI.ArcGISExplorer.Application.Application.SelectedItems(0), Layer) xlayer.ClearCache() System.Windows.Forms.MessageBox.Show("The cache for the selected layer has been cleared!", "Layer Cache", Windows.Forms.MessageBoxButtons.OK) End Sub End Class
... View more
03-11-2011
03:46 AM
|
0
|
0
|
1346
|
|
POST
|
aivanov - That simplifies things a bit. For some reason I thought i tried that. Guess not. Thank you.. Public Overrides Sub OnClick() Dim xlayer As Layer = TryCast(ESRI.ArcGISExplorer.Application.Application.SelectedItems(0), Layer) xlayer.ClearCache() System.Windows.Forms.MessageBox.Show("The cache for the selected layer has been cleared!", "Layer Cache", Windows.Forms.MessageBoxButtons.OK) End Sub
... View more
12-22-2010
04:33 AM
|
0
|
0
|
421
|
|
POST
|
I am looking to clear the cache on the selected layer. I am able to get it to work on either a Service Layer or a Feature layer. What I am trying to do now is have it detect which type the layer is so that it can refresh using the corrct code. I am stuck on trying to detect the layer type. Any thoughts? TIA. Public Overrides Sub OnClick() Dim slayer As ServiceLayer Dim flayer As FeatureLayer If ESRI.ArcGISExplorer.Application.Application.SelectedItems(0).GetType = ServiceLayer Then slayer = TryCast(ESRI.ArcGISExplorer.Application.Application.SelectedItems(0), ServiceLayer) slayer.ClearCache() System.Windows.Forms.MessageBox.Show("The cache for the selected layer has been cleared!", "CACHE", Windows.Forms.MessageBoxButtons.OK) ElseIf ESRI.ArcGISExplorer.Application.Application.SelectedItems(0).GetType = FeatureLayer Then flayer = TryCast(ESRI.ArcGISExplorer.Application.Application.SelectedItems(0), FeatureLayer) flayer.ClearCache() System.Windows.Forms.MessageBox.Show("The cache for the selected layer has been cleared!", "CACHE", Windows.Forms.MessageBoxButtons.OK) Else : System.Windows.Forms.MessageBox.Show("The cache for the selected layer could not be cleared due to incorrect layer type!", "CACHE", Windows.Forms.MessageBoxButtons.OK) End If End Sub
... View more
12-21-2010
03:56 AM
|
0
|
2
|
899
|
|
POST
|
I am having the same issue with maps not refreshing on open. My map is based on numerous wms layers from NOAA and needs to be kept current. Does anyone know if there is a way to create a tool (on toolbar) that would clear cache & refresh for all selected layers?
... View more
12-20-2010
05:08 AM
|
0
|
0
|
1346
|
| Title | Kudos | Posted |
|---|---|---|
| 4 | 03-12-2025 11:01 AM | |
| 2 | 01-08-2025 09:26 AM | |
| 1 | 01-08-2025 07:19 AM | |
| 1 | 12-06-2024 04:52 AM | |
| 2 | 03-19-2024 04:36 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-18-2025
04:51 PM
|