C# SHDocVw.IWebBrowser2.Navigate / COMException (0x800700AA)

0

I'm using the navigate function, but a COMException occurs on certain sites. When I checked ReadyState using Tostring, READYSTATE_LOADING continues to be checked and does not change to READYSTATE_COMPLETE. What exception handling should I apply to navigate normally? Use navigate in IExplorer. This problem only occurs on certain PCs.

SHDocVw.WebBrowser wb = FindIE("naver.com");

if(!wb.Busy)
{
  wb.Navigate("naver.com");

   while (wb.ReadyState != tagREADYSTATE.READYSTATE_COMPLETE)
   {
       MessageBox.Show(wb.ReadyState.ToString());
       Thread.Sleep(100);
   }
}
else
{
   ing . . . .
}
c#
asked on Stack Overflow Mar 24, 2020 by 이이규진

1 Answer

0

No matter how long you wait, it will not change to READYSTATE_COMPLETE. In addition, Navigate then Sleep (100000); It does not change even if given.

answered on Stack Overflow Mar 24, 2020 by 이이규진

User contributions licensed under CC BY-SA 3.0