title: Suppressing error message popups in CDHtmlDialog doesn't work with IE 11
body: <p>I'm not sure if it's something new to IE 11, or maybe I'm doing something wrong. I'm embedding an IE web browser via the MFC's <code>CDHtmlDialog</code> class (that internally encapsulates the <code>IWebBrowser2</code> interface.)</p>
  
  <p>So I do the following:</p>
  
  <pre><code>BOOL CMyDHtmlDialog::OnInitDialog()
  {
      CDHtmlDialog::OnInitDialog();
  
      //Disable JavaScript errors
      m_pBrowserApp-&gt;put_Silent(VARIANT_TRUE);
  
      return TRUE;  // return TRUE  unless you set the focus to a control
  }
  </code></pre>
  
  <p>but I still get:</p>
  
  <p><img src="https://i.stack.imgur.com/KL8O7.jpg" alt="enter image description here"></p>