laptop and a wrench

不具合

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

最後に公開された状態: August 19, 2020 ArcGIS for Desktop
不具合 ID 番号 NIM077864
送信されましたFebruary 4, 2012
最終更新日June 5, 2024
適用対象ArcGIS for Desktop
見つかったバージョン10.0
プログラム言語C#
オペレーティング システムWindows OS
オペレーティング システムのバージョンXP
ステータスWill Not Be Addressed

参考情報

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

再現の手順

不具合 ID: NIM077864

ソフトウェア:

  • ArcGIS for Desktop

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動