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. Webbrowser control and multithreading.

Webbrowser control and multithreading.

Scheduled Pinned Locked Moved C#
csharphelpquestion
3 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.
  • G Offline
    G Offline
    GriffonRL
    wrote on last edited by
    #1

    Hello, I'm wondering if anybody managed to use the webbrowser control in a multithreaded application. I would like to have several browsers runnning in parrallel in the same program, but when I create several webbrowser controls and call the navigate() function of each of them to load different sites, it seems that if one of them is long or somewhat stuck it affects all the others. If I increase the number of webbrowser I get even more troubles. I'm doing my tests using C#. Has anybody tried this kind of solution ? Any experience will be welcome. Thanks, R. LOPES Just programmer.

    S 1 Reply Last reply
    0
    • G GriffonRL

      Hello, I'm wondering if anybody managed to use the webbrowser control in a multithreaded application. I would like to have several browsers runnning in parrallel in the same program, but when I create several webbrowser controls and call the navigate() function of each of them to load different sites, it seems that if one of them is long or somewhat stuck it affects all the others. If I increase the number of webbrowser I get even more troubles. I'm doing my tests using C#. Has anybody tried this kind of solution ? Any experience will be welcome. Thanks, R. LOPES Just programmer.

      S Offline
      S Offline
      Stephane Rodriguez
      wrote on last edited by
      #2

      I believe that's because all web browser control instances are hosted by a unique ole control site. I would try to write my own. Derive the AxHost class. (google!)

      G 1 Reply Last reply
      0
      • S Stephane Rodriguez

        I believe that's because all web browser control instances are hosted by a unique ole control site. I would try to write my own. Derive the AxHost class. (google!)

        G Offline
        G Offline
        GriffonRL
        wrote on last edited by
        #3

        Hello Stephane, Thank you for your help. Do you have any idea on how to test that with VS .NET easely (if the instances are hosted by the same control) ? Thanks, R. LOPES Just programmer.

        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