I need to be able to display html files that are stored locally on the device using a WebBrowser control in the form of a window.
I simply point the WebBrowser to the page as follows: ctrlBrowser.Url = new Uri ("file: // \\ My Documents \ test.html");
The pages load perfectly in control, with the exception of the Windows Mobile 6.1 device, which also has an Opera browser. Each time the above code works, the page loads, but loads on the newly launched Opera browser screen. I need to use the WebBrowser control to catch navigation events, etc., but cannot find a way to get the page to load into the control when the opera is installed.
Your thoughts are much appreciated as I am against a brick wall on it.
source share