laptop and a wrench

Bug

Throwing an error in the initiialize method of a class that implements IToolBarDef causes crash.

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

Workaround

Use error handling:Private Sub Class_Initialize()On Error GoTo EH: Err.Raise -1 ReDim m_asTools(1) m_asTools(0) = "TestToolBar.TestCommandArcMap"Exit SubEH:MsgBox "MyTestToolbar Error on

Steps to Reproduce

Bug ID: NIM006487

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