クリックすると特定の Web ページが開く Internet Explorer コマンド ボタンを開発しています。コードのスニペットを次に示します (IEApp
は のインスタンスへの参照ですIE.WebBrowser
)。
IEApp.Navigate(sURL, ref one, ref two, ref three, ref four);
上記の行は、次の COMException をスローします。
Exception Source: Interop.SHDocVw
Exception Type: System.Runtime.InteropServices.COMException
Exception Message: The requested resource is in use. (Exception from HRESULT: 0x800700AA)
Exception Target Site: Navigate
これは、IE6 または IE7 では問題ではありませんでした。何がうまくいかないかについてのアイデアはありますか?コマンド ボタンの作成に AddInExpress を使用しています。
乾杯!キリスト教徒