I am hosting a web browser control, initialized with IWebBrowser2.put_Silent(VARIANT_TRUE)
.
However, when calling IWebBrowser2.Navigate
with a malformed path, I still get a message box to the equivalent of
"file:///D://htmlstuff/page.html" was not found. Make sure the path or internet address is correct.
The issue here is the accidental double-slash specified by the user (D:\htmlstuff instead of D:\htmlstuff).
I can catch this particular problem earlier, before doing the Navigate, but I'm concerned that this message box still occurs, as I cannot verify every possible URL (or other possible cause that makes the webbrowser control ignore the Silent flag).
I would expect to get an error code returned silently.
Any ideas? Is there a "even more silent" option?
Windows 8.0, IE 10.0.9200.16750