Results 1 to 3 of 3

Thread: Enabling Controls on Worker Thread Through a Module

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2007
    Posts
    258

    Enabling Controls on Worker Thread Through a Module

    How would I do this?

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,109

    Re: Enabling Controls on Worker Thread Through a Module

    We're gonna need a lot more information before you'll get any useful response. I'm not sure what you mean by module, but it almost certainly isn't a VB.NET module, as that would have no impact on the rest of the question. Other than that, look for any post by JM (if you know who that is), and check the link in his signature on delegates, as a background thread can't directly influence controls.
    My usual boring signature: Nothing

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Enabling Controls on Worker Thread Through a Module

    As Shaggy suggested, follow the Controls & Multi-threading link in my signature. As Shaggy also suggested, whether the code being executed in the worker thread is part of a class, structure or module makes no difference whatsoever.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width