Hi, Hope you can help again. I want to delete a feature in a shapefile.
The shapefile is opened as ShapeFileReadWriteMode.ReadWrite and I get the following error: ""The process cannot access the file 'C:\Tmp.shp' because it is being used by another process."
I also get the error on the Rebuild: "Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated."
Dim tmpLayer As MapSuite.Core.ShapeFileFeatureLayer
tmpLayer = MapSuiteTest.MainForm.winformsMap1.FindFeatureLayer(shapefileName)
tmpLayer.Open()
tmpLayer.EditTools.BeginTransaction()
tmpLayer.EditTools.Delete("123")
tmpLayer.EditTools.CommitTransaction()
tmpLayer.Rebuild(filePath)
tmpLayer.Close()