laptop and a wrench

Bug

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.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM006411
SubmittedJanuary 26, 2007
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.2
Program languageVBA
Version Fixed9.3
StatusFixed

Workaround

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

Steps to Reproduce

Bug ID: NIM006411

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options