laptop and a wrench

Bogue

Using the deprecated interface and method IExportDialog::DoModal crashes ArcMap. Older code that uses this deprecated interface will result in errors when the DoModal method is called.

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM006411
EnvoiJanuary 26, 2007
Dernière modificationJune 5, 2024
S’applique àNo Product Found
Version trouvée9.2
Langue du programmeVBA
Version de correction9.3
StatutFixed

Solution de contournement

Use IExportFileDialog instead:Public Sub testExportFileDialog()On Error GoTo EH:Dim efd As IExportFileDialogSet efd = New ExportFileDialogefd.DocumentName = "ExportTest"Dim pixelBounds As IEnvelopeSet pixelBounds = New EnvelopepixelBounds.PutCoords 0, 0, 300, 300Dim b As Booleanb = efd.DoModal(pixelBounds, Nothing, Nothing, 75)MsgBox bExit SubEH:MsgBox Err.Number & vbCrLf & Err.DescriptionEnd Sub

Étapes pour reproduire

ID de bogue: NIM006411

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