Access Controls from another thread

Discussion in 'C#' started by exploitz, Jul 7, 2010.

  1. exploitz

    exploitz New Member

    Joined:
    Jul 7, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hello all.

    Im not very good at explaining but I really will try my best :P

    Ive got my main form.. and it has a webbrowser on it. I need to be able to create a new thread (i guess a worker thread) which can access the webbrowser.

    I just don't understand this whole delegate business.. or whatever it is that is needed to access controls on a seperate thread.

    Thanks!
     
  2. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    2
    Trophy Points:
    0
    You should not and must not update the Gui controls from threads which did not create the Gui.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice