laptop and a wrench

漏洞

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.

上次发布: August 25, 2014 No Product Found
漏洞 ID 编号 NIM006411
已提交January 26, 2007
上次修改时间June 5, 2024
适用范围No Product Found
找到的版本9.2
编程语言VBA
修正版本9.3
状态Fixed

解决办法

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

重现步骤

漏洞 ID: NIM006411

软件:

  • No Product Found

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项