How to fix “The requested resource is in use. (Exception from HRESULT: 0x800700AA)”

后端 未结 6 601
青春惊慌失措
青春惊慌失措 2020-12-14 20:06

How can I solve this error?

\"The requested resource is in use. (Exception from HRESULT: 0x800700AA)\".

This appears while navi

6条回答
  •  借酒劲吻你
    2020-12-14 20:37

    This can be solved pretty easily. This error occurs when the browser commits an action while he's already performing an action. For example, you are navigating to some website while you rightclick in the web browser. To solve this, I did the follow:

    //if my webbrowser isn't performing any actions
    if(!myWebBrowser.IsBusy)
    {
       //Navigate
       myWebBrowser.Navigate("http://www.google.com");
    }
    

提交回复
热议问题