laptop and a wrench

Error

OnSelChange() of the Add-in Combox behaves differently with Process.Start(filePathString) vs Process.Start(URL) and Form.Show vs Form.ShowDialog

Última publicación: August 19, 2020 ArcGIS for Desktop
Número de ID del error NIM077864
EnviadoFebruary 4, 2012
Última modificaciónJune 5, 2024
Relacionado conArcGIS for Desktop
Versión encontrada10.0
Lenguaje del programaC#
Sistema operativoWindows OS
Versión de sistema operativoXP
EstadoWill Not Be Addressed

Información adicional

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.

Solución alternativa

//// *** Workaround provided to customer *** //// Clear the ComboBox items and re-add them using same logic as in the constructor //// This worksaround the issue involving the Process.Start with PDFs/documents and with the Form.Show() method. //// Consider an If Statement to only do this with problematic menu items by setting a variable like strSelectedItem //// inside each Case statement or simply do this all the time just to be consistent. //// After below code executes, the hint text will display again for the 2 problematic menu items. //Uncomment the statements below: //this.Clear(); //string[] serviceLinks = //{ // "Test PDF", "URL 01", ".Show()", "Messagebox", ".ShowDialog()" //}; //foreach (string currLink in serviceLinks) //{ // Add(currLink); //}

Pasos para reproducir

ID del error: NIM077864

Software:

  • ArcGIS for Desktop

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga