Strange behaviour of WebBrowser Control?!!!
-
Hello everyone, I have added a Web Browser Control to the my Windows Application using the following code:
this.webBrowser1.Navigate("http://yahoo.com");
As I am navagating the web using the WebBroweser Control, I have noticed that if the web-page contains Flash the mouse click works only ONCE. If I click the second time, nothing happens. I have noticed that I can get the mouse click working only for ONE click if I click on a button/tab or anything which is placed in Windows Application but it is not contained in WebBrowser Control. Can someone be kind enough to tell me what is going on and how I can sort this problem? Thank you very much and have a great weekend. Khoramdin
-
Hello everyone, I have added a Web Browser Control to the my Windows Application using the following code:
this.webBrowser1.Navigate("http://yahoo.com");
As I am navagating the web using the WebBroweser Control, I have noticed that if the web-page contains Flash the mouse click works only ONCE. If I click the second time, nothing happens. I have noticed that I can get the mouse click working only for ONE click if I click on a button/tab or anything which is placed in Windows Application but it is not contained in WebBrowser Control. Can someone be kind enough to tell me what is going on and how I can sort this problem? Thank you very much and have a great weekend. Khoramdin
I can't seem to reproduce the problem. I created a new form, added in the browser control, navigated to the page, and everything works fine.
My current favourite word is: Bauble!
-SK Genius
-
I can't seem to reproduce the problem. I created a new form, added in the browser control, navigated to the page, and everything works fine.
My current favourite word is: Bauble!
-SK Genius
Hello, Thanx for taking the time and trying to reproduct the problem. After my extensive search I found that is a known problem with VS2005. Please see the link http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2311412&SiteID=1[^] I am not sure why you were not able to reproduct the problem. It could be that you are using VS2008 as it has been suggested that the it doesn't suffer from the problem. For the time being suggestion to solve this issue is to use VS2008 or using AxWebBrowser control. Thank you very much and have a great weekend. Khoramdin
-
Hello, Thanx for taking the time and trying to reproduct the problem. After my extensive search I found that is a known problem with VS2005. Please see the link http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2311412&SiteID=1[^] I am not sure why you were not able to reproduct the problem. It could be that you are using VS2008 as it has been suggested that the it doesn't suffer from the problem. For the time being suggestion to solve this issue is to use VS2008 or using AxWebBrowser control. Thank you very much and have a great weekend. Khoramdin
Or it could be that i'm using SharpDevelop ;) Still, i'm glad you figured out what it was.
My current favourite word is: Bauble!
-SK Genius