How can I check if the Edit Session is on? With my current code, ArcMap crashes when not in Edit Session. I'd like to put a warning for the user to start an Edit Session, if they forgot. Dim pEnumFeature As ESRI.ArcGIS.Geodatabase.IEnumFeature Dim pFeature As ESRI.ArcGIS.Geodatabase.IFeature Dim pEditor As ESRI.ArcGIS.Editor.IEditor Dim featureCode As String Dim def As String pEditor = My.ArcMap.Application.FindExtensionByName("esriEditor.Editor") pEnumFeature = pEditor.EditSelection pEnumFeature.Reset() pFeature = pEnumFeature.Next pEditor.StartOperation()