I wrote an C# application that uses the .NET WebBrowser control. The following code demonstrates the problem: Its is possible to navigate through that web site, but the ALL button on the left side of the blue menu bar doesn't work.
I tried Net 2.0 and 3.5 on Vista 64, and I also tried the AxWebBrowser control.
Strange enough, this very website works via MS Internet Explorer 9 on this very PC.
Any idea how I can my application get working? I DO need that.
// Begin of example
using System;
using System.Threading;
using System.Windows.Forms;
internal class Global
{
[System.STAThreadAttribute()]
internal static void Main(string[] args)
{
Form myForm = new Form();
myForm.Width = myForm.Height = 800;
WebBrowser myBrowser = new WebBrowser();
myForm.Controls.Add(myBrowser);
myBrowser.Size = myForm.ClientSize;
myForm.Show();
myBrowser.ScriptErrorsSuppressed = true; // Problem persists if this line is omitted
myBrowser.Navigate("http://www.oxforddictionary.com");
while (true) { System.Windows.Forms.Application.DoEvents(); Thread.Sleep(50); }
}
} // End of example