laptop and a wrench

Bug

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

Last Published: August 19, 2020 ArcGIS for Desktop
Bug ID Number NIM077864
SubmittedFebruary 4, 2012
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found10.0
Program languageC#
Operating SystemWindows OS
Operating System VersionXP
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

//// *** 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); //}

Steps to Reproduce

Bug ID: NIM077864

Software:

  • ArcGIS for Desktop

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