Hello all,The VBA code below gives me this error:A subscription cannot be stored unless its event class already existsThis happens only when using esriSpatialRelOverlaps.
Set pFeatureLayer = pLayer
pSpatialFilter.SpatialRel = esriSpatialRelOverlaps
Set pSpatialFilter.geometry = pInFeature.ShapeCopy
Set pFeatureCursor = pFeatureLayer.FeatureClass.Search(pSpatialFilter, False)
Set pFeature = pFeatureCursor.NextFeature
Can somebody tell me what's going on? I think it has something to do with the migration to ArcGis10.Greetings, Henk