|
POST
|
I feel your pain. I have been on the losing end of these decisions too.
... View more
08-01-2012
07:55 AM
|
0
|
0
|
2289
|
|
POST
|
How do you disable your application for other users on the citrix server? In my experience, ArcMap is such a resource hog that putting it on a citrix environment leads to performance problems, basically as soon as you have more users than cores on the system you get slow downs and resource contention.
... View more
08-01-2012
06:49 AM
|
0
|
0
|
2289
|
|
POST
|
To my knowledge the only way to do this (I have seen it done for pre-10 language settings and a citrix implementation) is to make a custom exe, that changes the registry first then launches ArcMap second and resets the registry value. This is more or less what I am doing now, users want to launch arcmap from another application so I have the opportunity to change the registry key before I do.
... View more
08-01-2012
05:31 AM
|
0
|
0
|
2289
|
|
POST
|
If you don't write the software with testing in mind, it is unlikely that you will be able to slap something together after the fact.
... View more
07-30-2012
07:34 AM
|
0
|
0
|
2296
|
|
POST
|
http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/How_to_create_an_application_to_run_on_a_schedule/0001000002nt000000/
... View more
07-25-2012
07:21 AM
|
0
|
0
|
2434
|
|
POST
|
I have used NUnit with ArcObjects 9.2. Now I use visual studio built in unit tests (same idea.) Mocking up all the AOs you would need to do full tests is probably not realistic. I don't use unit tests for everything. For some things you can have a setup step to your tests that makes a copy of a database with test data, use AO in your test (init licenses and product first like an exe,) to open the featureclasses and pass them to your test. Use AO again to open the results and examine the contents. That works well for converters and such. Classes that require a feature or a geometry passed in, you can create it in your unit test. You can also create in memory workspace populate the values you need, etc. Again, it is not practical for everything. Simulating editor, document or application events is not practical (IMHO.) UI code is a unique challenge if you can write the code is MVP style, that helps. This is when segregating the business code tier for the UI code pays off, you can test the business code in unit test and the ui code in manual tests.
... View more
07-23-2012
05:45 AM
|
0
|
0
|
2296
|
|
POST
|
Do you have a specific reason to migrate from a com component model to an add-in? The documentation does not list an ILayer as a component type you can create with an add-in. Add-ins are fairly limited in possibilities. http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000000w2000000
... View more
07-17-2012
08:53 AM
|
0
|
0
|
958
|
|
POST
|
There is a bunch of context information missing. Is this engine, server or desktop? What is the combo box doing. What components are being loaded. Are your two system 64 or 32 bit. It looks like you don't have proper exception handling in your form event handlers. Exception handlers might give you a better clue as to what is happening. Also is your development environment on Win7? It is very difficult to develop on one OS and deploy on a different one.
... View more
07-13-2012
05:25 AM
|
0
|
0
|
1223
|
|
POST
|
Short answer is yes it can slow down ArcMap startup. if the command is not on the interface when ArcMap starts up then it won't be initialized right away. For example if the command is on a toolbar that is not visible or a context menu etc. Then the initialization only starts then. Just because you can set up objects in the initialization doesn't mean you have to or you should. I find that sort of thing useful if I want to make a the tool enabled dependent on a license being turned or an extension loaded or an edit session started. Then the init method would be good. Otherwise, I instantiate objects when they are needed.
... View more
06-29-2012
11:09 AM
|
0
|
0
|
916
|
|
POST
|
Are these assemblies listed in the references list of the project properties?
... View more
06-29-2012
06:58 AM
|
0
|
0
|
2975
|
|
POST
|
You don't really need to write any code for this at all since you can use the toolbox tool. But you can also write c# code if you really want to. http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/d/000100000165000000.htm http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/Create_MathOp_Times_Raster_Snippet/004900000056000000/
... View more
06-21-2012
12:05 PM
|
0
|
0
|
1077
|
|
POST
|
D'Oh, I just re-read your original post. You shouldn't put the call to find extension in an ICommand OnCreate event. If you place the command on a toolbar in ArcMap and the tool bar is visible and turn on when you start ArcMap, the OnCreate is triggered during the ArcMap start up before extensions are created.
... View more
06-21-2012
09:11 AM
|
0
|
0
|
4252
|
|
POST
|
If memory serves me, editor extensions are the same as regular extensions but they are registered in a different category. They are loaded only after the edit session is started. They stick around after the edit session is stopped. Do you have an edit session started when you run your code?
... View more
06-21-2012
09:06 AM
|
0
|
0
|
4252
|
|
POST
|
raster calculator does this, you need spatial analyst to do it. Code is not necessary but scripting it in python makes it nice.
... View more
06-21-2012
07:52 AM
|
0
|
0
|
1077
|
|
POST
|
Hello there, I have this intermittent problem with my ArcMap application. I get this error: "System.Runtime.InteropServices.COMException (0x80040554): Error stopping an edit session with save edits [FCAnno]" If I try to do stop editing manually I get the same message (minus the comrexception) If I save the edit session with the save edits button, it looks like it works and then I can manually stop the edit session. However, when I do that all my features in the FCAnno feature class are lost and also some in an unrelated (in same feature dataset) line feature class also. The edit session is in a file gdb on the local machine. If I grab a back-up of the file gdb, do some edits and save it, it works ok.
... View more
06-20-2012
08:17 AM
|
0
|
0
|
3653
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-02-2024 10:26 AM | |
| 1 | 07-05-2024 08:45 AM | |
| 1 | 10-05-2022 02:19 PM | |
| 6 | 03-27-2017 01:16 PM | |
| 1 | 05-05-2016 05:46 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-28-2025
07:37 AM
|