laptop and a wrench

Bogue

Repeated calls to ICommand::Refresh can crash ArcMap.

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM007299
EnvoiMarch 9, 2007
Dernière modificationJune 5, 2024
S’applique àNo Product Found
Version trouvée9.0
Langue du programmeVBA
StatutWill Not Be Addressed

Informations supplémentaires

No Public Explanation

Solution de contournement

Changed VBA code to skip toolcontrol and menus as follows to retest: Dim pCmdItem As ICommandItem Dim i As Integer For i = 0 To pCmdBar.Count - 1 Set pCmdItem = pCmdBar.Item(i) If (pCmdItem.Type = esriCmdTypeCommand) Then If Not pCmdItem.Command is Nothing Then If Not TypeOf pCmdItem.Command Is IToolControl Then pCmdItem.Refresh End If End If End If Next iIt seems to work but occasionally ArcMap still crashes or disappears.- When current tool is on the toolbar to be refreshed- Refreshing the commands on standard toolbar

Étapes pour reproduire

ID de bogue: NIM007299

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