Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Strange behaviour of WebBrowser Control?!!!

Strange behaviour of WebBrowser Control?!!!

Scheduled Pinned Locked Moved C#
questioncomadobehelp
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Khoramdin
    wrote on last edited by
    #1

    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

    A 1 Reply Last reply
    0
    • K 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

      A Offline
      A Offline
      Anthony Mushrow
      wrote on last edited by
      #2

      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

      K 1 Reply Last reply
      0
      • A Anthony Mushrow

        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

        K Offline
        K Offline
        Khoramdin
        wrote on last edited by
        #3

        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

        A 1 Reply Last reply
        0
        • K 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

          A Offline
          A Offline
          Anthony Mushrow
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups