laptop and a wrench

Bug

Adding a Windows Form with an ActiveX Control to a command which inherits from BaseCommand crashes ArcMap.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM031555
SubmittedJanuary 24, 2008
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.2
Program languageC#
StatusWill Not Be Addressed

Additional Information

We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.

Workaround

Listen to the BeforeCloseDocument event and unload the Windows Form object by calling its Close method. Caveat: the command does not work anymore if user closes a document but leaves ArcMap running

Steps to Reproduce

Bug ID: NIM031555

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