POST
|
Hi Elio, In fact no! We worked a couple of days trying to solve the problem with ESRI's Tech support and they weren't able to reproduce the problem while there was no way to make it work in our place... So we used a Geoprocessor as a workaround and it did the job pretty well... After that, we just stopped searching for the answer and we kept using the geoprocessor. Sorry I cannot help you more with this... Good luck!
... View more
03-28-2013
07:44 AM
|
0
|
0
|
441
|
POST
|
Hi, I'm trying to perform an edit operation on a sde10 FeatureClass in a FeatureDataset. The FeatureDataset is Registered As Versioned. I wish to delete all features in the FeatureClass. I get this message when running the code below: The Microsoft Jet database engine cannot find the input table or query 'GDB_DataChanges' What is the The Microsoft Jet database engine has to do with it? This is a fresh SDE 10 installation with fresh data...! The only way I can make it work is by using a FeatureClass not in a FeatureDataset And Without registering de FeatureClass As Versioned And without performing the "Editor.StartEditing(SDEDataset.Workspace)" Can anyone help me with this? TIA This is the code we are using: '....Some code 'Gets the SDE FeatureClass from the FocusMap Dim FClassSDE As IFeatureClass = General.FindFeatLayerByName("ZZ_Test").FeatureClass 'Start an editing session Dim SDEDataset As IDataset = CType(FClassSDE, IDataset) Dim Editor As IEditor3 = Nothing Dim MonUID As New UIDClass() MonUID.value = "esriEditor.Editor" Editor = CType(pGlobal.pApplication.FindExtensionByCLSID(MonUID), IEditor) Try If Editor.EditState = esriEditState.esriStateNotEditing Then Editor.StartEditing(SDEDataset.Workspace) End If 'Delete all Features from SDE FeatureClass Dim TableSDE As ITable = CType(FClassSDE, ITable) TableSDE.DeleteSearchedRows(Nothing)' *****Returns the error!!**** ...Some code Catch Ex As Exception MsgBox(Ex.Message) Finally If Editor.EditState = esriEditState.esriStateEditing Then Editor.StopEditing(False) End If End Try
... View more
06-27-2012
02:20 PM
|
0
|
2
|
3810
|
POST
|
That's great! It works just fine! Thank you! I'll be more carefull with my casting in the future! Thanx again! F.
... View more
04-12-2012
06:26 AM
|
0
|
0
|
207
|
POST
|
Hi everyone, I'm having this problem when I try to convert this simple Function from VBA to VB.Net with The "Option Strict On" I Wish to use a FeatureCursor to retreive all the Features selected in a FeatureLayer. In VBA, we were able to pass a FeatureCursor to the Search Method of ISelectionSet. In .Net, with Option Strict On, this is not possible anymore. We have to pass a Cursor (otherwise a CType conversion will be requiered, wich won't work anyway!) So my question is how do I access the Feature if I can only use a Cursor? Please, see the attached code. TIA for your help! F.
... View more
04-11-2012
12:33 PM
|
0
|
2
|
810
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|