AnsweredAssumed Answered

GxDialog doesn't always ask about replacing object

Question asked by kenbuja Champion on Aug 7, 2012
Latest reply on Aug 10, 2012 by kenbuja
In my code, I'm using the following code to save a feature class

Dim pFCFilter As New ESRI.ArcGIS.Catalog.GxFilterFeatureClasses Dim pGxDialog As New ESRI.ArcGIS.CatalogUI.GxDialog  pGxDialog.Title = "Save feature class" pGxDialog.Name = "" pGxDialog.ObjectFilter = pFCFilter  If Not pGxDialog.DoModalSave(My.ArcMap.Application.hWnd) Then Exit Sub

When I select a feature class that already exists in a file or personal geodatabase, I'll get the expected "The object named "X" already exists. Do you wish to replace it?" However, when I select a shapefile that already exists, I don't get that message. Why would I get this inconsistent behavior?