5 Replies - 3067 Views - Last Post: 15 January 2011 - 11:13 AM Rate Topic: -----

#1 emari2  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 8
  • Joined: 14-January 11

Passing data from one running thread to another running thread

Posted 14 January 2011 - 09:36 AM

I have on timer thread that needs to pass every time a different data to another running thread to make the calculations. I do not know how
Regards. In visual Basic Net , please
Is This A Good Question/Topic? 0
  • +

Replies To: Passing data from one running thread to another running thread

#2 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6110
  • View blog
  • Posts: 23,670
  • Joined: 23-August 08

Re: Passing data from one running thread to another running thread

Posted 14 January 2011 - 09:44 AM

If it's VB.NET, why did you post in C#??? :rolleyes:

Moved to VB.NET.
Was This Post Helpful? 0
  • +
  • -

#3 tlhIn`toq  Icon User is offline

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5677
  • View blog
  • Posts: 12,209
  • Joined: 02-June 10

Re: Passing data from one running thread to another running thread

Posted 14 January 2011 - 10:00 AM

One thread raises an event.
The other thread is subscribed to that event, and reacts when it is raised.


Quick and easy custom events
Bulding an application - Part 1
Building an application - Part 2
Passing values between forms and classes
Debugging tutorial
Was This Post Helpful? 0
  • +
  • -

#4 Dogstopper  Icon User is offline

  • The Ninjaducky
  • member icon



Reputation: 2876
  • View blog
  • Posts: 11,051
  • Joined: 15-July 08

Re: Passing data from one running thread to another running thread

Posted 14 January 2011 - 10:43 AM

Please don't use titles that are in all caps. It is generally perceived as being rude.

*Topic title renamed*
Was This Post Helpful? 0
  • +
  • -

#5 _HAWK_  Icon User is online

  • Master(Of Foo)
  • member icon

Reputation: 1067
  • View blog
  • Posts: 4,176
  • Joined: 02-July 08

Re: Passing data from one running thread to another running thread

Posted 14 January 2011 - 03:06 PM

Please post your code so we can help.
Was This Post Helpful? 0
  • +
  • -

#6 emari2  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 8
  • Joined: 14-January 11

Re: Passing data from one running thread to another running thread

Posted 15 January 2011 - 11:13 AM

I already solved the problem by myself. Thanks.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1