|
POST
|
This might be once of the cases where you have to refresh twice.
... View more
06-04-2012
01:44 PM
|
0
|
0
|
1031
|
|
POST
|
The first thing to do is put some error handling code in your subroutine to see where it is failing.
... View more
06-04-2012
12:26 PM
|
0
|
0
|
1733
|
|
POST
|
Have you seen this sample that shows the syntax for passing parameters through the URL?
... View more
06-04-2012
07:50 AM
|
0
|
0
|
1272
|
|
POST
|
Great. Don't forget to mark the question as answered.
... View more
06-04-2012
07:40 AM
|
0
|
0
|
1083
|
|
POST
|
This is the code I use for an Add-in which uses a button to set the spatial reference, checking if the user selected a projected or geographic projections.
private ESRI.ArcGIS.Geometry.ISpatialReference3 pSR;
private void cmdSetReference_Click(System.Object sender, System.EventArgs e) {
ESRI.ArcGIS.CatalogUI.ISpatialReferenceDialog2 pSRDialog = new ESRI.ArcGIS.CatalogUI.SpatialReferenceDialog();
pSR = pSRDialog.DoModalCreate(false, false, false, My.ArcMap.Application.hWnd);
if ((pSR != null)) {
if (!pSR is ESRI.ArcGIS.Geometry.IGeographicCoordinateSystem2 & !pSR is ESRI.ArcGIS.Geometry.IProjectedCoordinateSystem5) {
System.Windows.Forms.MessageBox.Show("Please select a projected or geographic coordinate system. ", "Unknown Coordinate System", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Exclamation);
}
}
}
... View more
06-04-2012
07:30 AM
|
0
|
0
|
1733
|
|
POST
|
You're welcome. If this has answered your question, please click the green check to mark it as answered.
... View more
05-30-2012
05:05 AM
|
0
|
0
|
824
|
|
POST
|
Take a look at this thread, which has a version of the Navigation widget that can be used in a non-Flex Viewer project.
... View more
05-30-2012
04:58 AM
|
0
|
0
|
1083
|
|
POST
|
The easiest way to do this is with Label expressions. In the layer Properties dialog, click on the Labels tab, then click on the Expression button. Use the expression Right([yourfield],5)
... View more
05-29-2012
07:30 AM
|
0
|
0
|
824
|
|
POST
|
What's the code behind the Find button (and it helps if you put the code inside the Code tags)?
... View more
05-24-2012
12:14 PM
|
0
|
0
|
722
|
|
POST
|
Glad to hear that. In order to help others to find good answers, also click the check mark in the post that answered your question. You'll notice on that forum page that it will change the "Q" to a "A"
... View more
05-23-2012
01:30 PM
|
0
|
0
|
1080
|
|
POST
|
No, unfortunately you can only have one installation. The way around this would be to create a virtual machine. See this thread for more information. Don't forget to mark the question as answered.
... View more
05-23-2012
01:00 PM
|
0
|
0
|
1080
|
|
POST
|
You will have to have ArcGIS 10 installed on your development machine to create ArcGIS 10 applications.
... View more
05-23-2012
12:34 PM
|
0
|
0
|
1080
|
|
POST
|
Take a look at this example code for a C# implementation. Also, I notice that you post many questions, but do not mark the post that have answered your questions. By clicking the check mark (instead of using the promote arrow), you help others who are searching the posts to find the questions that have been successfully answered. Please review this blog posting about marking questions as answered.
... View more
05-23-2012
05:35 AM
|
0
|
0
|
3196
|
|
POST
|
Here's what the Extensions node looks like in my config.esriaddinx file. Take a look at the Converting Extension section of this Help page for more information <Extensions> <Extension id="Biogeography_Branch_HabitatDigitizer_10_Extension" class="Extension" productName="Habitat Digitizer" showInExtensionDialog="true" autoLoad="true"> <Description>The Habitat Digitizer Extension was designed to use a hierarchical classification scheme to attribute polygons, lines, and points delineated by visually interpreting georeferenced images such as aerial photographs, satellite images, and side scan sonar. The extension allows users to create custom classification schemes and rapidly delineate and attribute polygons, lines, and points using simple menus and dialogs.</Description> </Extension> </Extensions>
... View more
05-22-2012
12:52 PM
|
0
|
0
|
1398
|
|
POST
|
If you're creating this as part of an Add-in, you have to make a modification to the config.esriaddinx file for each tool. You have to add the tag onDemand="False". See the section on Delay loading in the Help for more information
<Tool id="myProject_myTool" class="myTool" message="A tool" caption="A tool" tip=A tool" category="My Tools" image="Images\myTool.png" onDemand="false" /> In addition, you'll have to add the code in the tool itself to enable it, which would go in the OnUpdate sub
Public Class myTool
Inherits ESRI.ArcGIS.Desktop.AddIns.Tool
Public Sub New()
End Sub
Protected Overrides Sub OnUpdate()
Me.Enabled = 'your enabling code
End Sub
... View more
05-22-2012
12:41 PM
|
0
|
0
|
3196
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-04-2025 06:39 AM | |
| 1 | 05-01-2026 08:26 AM | |
| 1 | 04-10-2026 12:01 PM | |
| 1 | 04-13-2026 09:11 AM | |
| 1 | 10-11-2023 06:18 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|