Results 1 to 6 of 6
  1. #1
    Rad Member bot's Avatar
    Join Date
    Nov 2009
    Location
    Auckland
    Posts
    1,378

    Default .NET threading issue (VB.NET)

    Hello, I'm currently writing an app based on the Twitterizer library and custom controls. Currently, it retrieves tweets asynchronously, and on an anonymus function, as well as a status control being created on the thread. However, whenever I try and add my control to a TabPage created on the main thread it throws an InvalidOperationException. Therefore, how can I put my Status Control onto the main thread?
    ~NOBODY CARES~

  2. #2
    Senior Member
    Join Date
    Sep 2007
    Location
    Lower Hutt, NZ
    Posts
    727

    Default Re: .NET threading issue (VB.NET)

    You mioght need to use an invoke thread like this.
    http://www.codeproject.com/Articles/...e-simplest-way
    Interests: PVRs, HTPCs, Apple IOS, Apple TV, Media Players, C#, Printing

  3. #3
    Junior Member
    Join Date
    Apr 2012
    Posts
    1

    Default Re: .NET threading issue (VB.NET)

    Hey BOT! I think you need something since 1985....and I got it!
    Send me a message and We will talk about it.
    Nice job!

  4. #4
    Member
    Join Date
    Dec 2004
    Location
    NZ
    Posts
    44,851

    Default Re: .NET threading issue (VB.NET)

    You cant reply until you've got 10 posts

  5. #5
    Computer "Specialist" Agent_24's Avatar
    Join Date
    Dec 2004
    Location
    64 Bitville
    Posts
    14,221

    Default Re: .NET threading issue (VB.NET)

    Yeah I'm pretty sure "Cool Grand" is a spammer. His message makes no sense in relation to the original question. Actually it makes no sense in relation to most of reality.

    Couple that with the weird username and the new user, single post makes it pretty obvious.
    Non-system disk or disk error. Replace and strike any key when ready.

  6. #6
    The Sane of Insanity stratex5's Avatar
    Join Date
    Jan 2012
    Location
    On Earth... I Think???
    Posts
    1,050

    Default Re: .NET threading issue (VB.NET)

    Yeah whats up with 1985. its got nothing to do with vb.net

Similar Threads

  1. Add/Remove program issue (BIG issue)
    By HomerJayK in forum PressF1
    Replies: 12
    Last Post: 09-12-2008, 02:27 PM
  2. Disabling Hyper Threading...
    By johcar in forum PressF1
    Replies: 29
    Last Post: 28-04-2007, 09:37 PM
  3. strange internet issue on new laptop, network issue?
    By motorbyclist in forum PressF1
    Replies: 30
    Last Post: 31-07-2006, 11:16 PM
  4. hyper threading
    By gtr676 in forum PressF1
    Replies: 13
    Last Post: 25-07-2004, 10:05 PM
  5. Prescott and Hyper threading ??
    By Woof in forum PressF1
    Replies: 2
    Last Post: 17-04-2004, 09:56 AM

Posting Permissions

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