|
POST
|
The AccessWorkspaceFactory is used to read personal geodatabases, which are geodatabases stored in an access mdb. The OleDBWorspaceFactory is used to connect to a database using an OLE driver, could be an Access database, could be another type of database. The OLE connection would typically be used on a database that is not a geodatabase. Since OLE connections are not necessarily connecting to Access, they have more parameters to define. Typically you would define a DNS in the dataconnection utility in the Advanced section of the control panel(XP) and reference that file to connect. In my experience I have found OLE connections difficult to work with, slow and flaky so I try to avoid them if I can. The personal geodatabase was a favoured data format prior to the file geodatabase so the AccessWorkspaceFactory was used a lot and is typically quite reliable. It works on non-geodatabase access mdbs as well. Aside from limitations of mdbs themselves, the chief complaint about the AccessWorkspace I have heard about i is that it offers too much latitude in what it will allow you to do.
... View more
01-25-2011
04:53 AM
|
0
|
0
|
1044
|
|
POST
|
The ArcGIS Engine SDK and the ArcGIS desktop SDK are identical. If you look at the installer, it is the exact same file. In ArcGIS 10 I looks like esri combined all the SDKs together. I am not sure why the help says it is ArcGIS Engine only. In VS2008 if you add a universal command (base command + universal), it adds the references to ESRI.ArcGIS.Controls and instantiates the hookhelperclass.
... View more
01-24-2011
04:02 AM
|
0
|
0
|
788
|
|
POST
|
this is word from ESRI on Framework 4 http://forums.arcgis.com/threads/9209-ArcGIS-Desktop-and-.net-version-4?highlight=Framework This is some info related to explorer, worth a shot for ArcGIS http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/2010/09/08/using-visual-studio-2010-and-net-4-0-with-arcgis-explorer.aspx
... View more
01-20-2011
08:52 AM
|
0
|
0
|
1449
|
|
POST
|
Binding the the license for standalone application has changed at ArcGIS 10. The following link is for .net but part about license initialization should be relevant http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/How_to_migrate_ArcGIS_9_3_Desktop_and_Engine_stand_alone_applications_to_ArcGIS_10/0001000002ns000000/
... View more
01-19-2011
10:30 AM
|
0
|
0
|
1223
|
|
POST
|
If your extension is longer showing up in ArcMap, it is no longer registered and the one loading before was an old one. When running arcmap, can you load the tlb manually? If so your dll is fine just the registration is not being done. If not, there is some other problem.
... View more
01-19-2011
06:46 AM
|
0
|
0
|
1449
|
|
POST
|
This is usually an indication that ArcMap is loading an older version of the dll. Try cleaning out the bin folder of your project, try searching and deleting any other dll with the same name on your machine.
... View more
01-18-2011
06:28 AM
|
0
|
0
|
1449
|
|
POST
|
You can disable this completely in the advanced arcmap settings. You can access them in the arcgis installation folder in the utilities sub folder. This reverts arcmap to a 9.3 style of editing: tool+ task + target and removes the feature template window.
... View more
01-13-2011
06:54 AM
|
0
|
0
|
1397
|
|
POST
|
Have you updated all the project references to be version independent and to replace some of the changed ones to the ArcGIS 10 references? I notice you use the full namespace reference to the library in interface name for the declaration but not for the class name in the constructor, did you declare using on the namespace for the class, are there warnings on these using statements?
... View more
01-12-2011
09:32 AM
|
0
|
0
|
610
|
|
POST
|
I think it is "{9EBF3A1E-D0C0-11D0-802D-0000F8037368}"
... View more
01-12-2011
09:27 AM
|
0
|
0
|
826
|
|
POST
|
Re-throwing the exception to ArcMap is usually not a good idea unless you know how ArcMap is going to deal with it. If in the middle of an edit operation and you have an onChange listener and you want to abort the edit, in that case throwing an exception will do that. Sinking the exception only is usually not good either. It really depends on the application, the users and the concern for security. Generally giving the user a warning that something went wrong is a good idea. Putting the details in a file or in an application event log is good because you, the developer, can look at it after an error has happened in release code. Some people consider that a security risk because it potentially exposes details of the inner workings (call stack) to the users and will only write to a secure database.
... View more
01-10-2011
11:42 AM
|
0
|
0
|
220
|
|
POST
|
The solution is to modify the VB code. I noticed that there is a function called PlotMomentTensor in the code. This function create a polygons, lines and points and draws them to the display. To save the geometries as features, you could have three feature classes (one line, point and polygon) already defined that you feed into the function and instead of drawing the geometries on the map, you could create a feature in each feature class and assign the geometry to the feature. To save the geometries to the mxd, you could create graphic elements (point, polyline and polygon elements), set their geometry and add the elements to the map's graphic container (see IGraphicsContainer.AddElement). To keep the elements drawing in the IDisplay, you could implement an event listener on the IActiveView.OnAfterDraw, keep a reference to the geometries you are drawing and add the draw code in the event listener (I would advise against re-running the code to generate the geometries, in the event listener, just keep a reference to them.) This won't save the feature but they will stay in the map long enough to export a pdf.
... View more
01-07-2011
11:33 AM
|
0
|
0
|
1775
|
|
POST
|
Events in .NET are still there, you just need to set them up differently. The developer help for .net explains how to do it http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/How_to_wire_ArcObjects_NET_events/0001000002p3000000/
... View more
01-06-2011
09:41 AM
|
0
|
0
|
328
|
|
POST
|
You might want to look at this thread in the old forums http://forums.esri.com/Thread.asp?c=93&f=985&t=206951
... View more
01-05-2011
06:22 AM
|
0
|
0
|
878
|
|
POST
|
Ya the advantages in the attribute editing tools with coded values are pretty nice. I wish ESRI had come up with a way to do it with look up tables as an alternative to domains, perhaps in a non-enforced way. Of course if you start having domains that change frequently, you have to think of what happens to you data if you remove domain values, etc. If you run your code as the first thing you do in your arcmap session (before any other custom code is run and before an edit session is started) do you get the same problem acquiring the lock? It could be an object used in code that has not been explicitly released (ComReleaser Class.)
... View more
01-04-2011
09:08 AM
|
0
|
0
|
878
|
|
POST
|
I think you have answered your own question here. The domain being part of the schema, you cannot edit it while editing the data. Domains should be a rather static thing, if it isn't perhaps a domain is not appropriate. In all the cases I have been using domains, I set them when I created the schema. in the development phase I had to make some changes, I did so by kicking all the developers out of the database and doing it. I know some times people update them in production systems, usually in scheduled maintenance. If you have type tables that you need to keep synchronized, there is duplication of the data. Also if these tables change so often perhaps you should not be using domains. Maybe you need another way of validating the data.
... View more
01-04-2011
06:16 AM
|
0
|
0
|
878
|
| 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
|