laptop and a wrench

Bogue

GxDialog.DoModalOpen() crashes if it is used in a stand-alone application.

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM000430
EnvoiNovember 23, 2005
Dernière modificationApril 2, 2025
S’applique àNo Product Found
Version trouvée9.1
Langue du programmeAll
StatutNon-Reproducible

Informations supplémentaires

No Public Explanation

Solution de contournement

1. Rename or unregister the fmearcgisext.dll (usually in C:\Program Files\ArcGIS\Data Interoperability Extension) and rename it to something else. (This is the dll associated with the Data Interoperability Extension, so using this workaorund will disable that extention).2. C# workaround (setting the StartingLocation propery on the GxDialog) seems to work as a workaround. This only works in C#: private void btnOpenGxDialog_Click(object sender, System.EventArgs e) { ESRI.ArcGIS.CatalogUI.IGxDialog pGxDialog; ESRI.ArcGIS.Catalog.IEnumGxObject openedObj; ESRI.ArcGIS.Catalog.IGxObject pGxObject; string pStartLoc; pStartLoc = @"C:\test_data\shapefiles"; object pGxPath; pGxPath = pStartLoc; pGxDialog = new ESRI.ArcGIS.CatalogUI.GxDialogClass(); pGxDialog.ObjectFilter = new ESRI.ArcGIS.Catalog.GxFilterFeatureClassesClass(); pGxDialog.AllowMultiSelect = false; pGxDialog.RememberLocation = true; pGxDialog.set_StartingLocation(ref pGxPath); pGxDialog.DoModalOpen (0, out openedObj); pGxObject = openedObj.Next(); }

Étapes pour reproduire

ID de bogue: NIM000430

Logiciel:

  • No Product Found

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement