View Full Version : .NET threading issue (VB.NET)

22-04-2012, 10:11 PM
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?

23-04-2012, 09:15 AM
You mioght need to use an invoke thread like this.

Cool Grand
24-04-2012, 04:42 PM
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!

Speedy Gonzales
24-04-2012, 04:44 PM
You cant reply until you've got 10 posts

24-04-2012, 07:12 PM
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.

25-04-2012, 06:24 PM
Yeah whats up with 1985. its got nothing to do with vb.net