I have a vb.net (2010) form that starts a BackgroundWorker. I need to form to send data to the backgroundWorker periodically while it is running. I've seen several examples of sending the thread data when it starts, but not after it is already running. I've read up on delegates, but the examples always update the form from the thread. I need to go the other way. I need either the thread to pull data off the form or have the form push the data to the thread. Any suggestions?
Thanks!
Passing data from a form INTO a running thread
Page 1 of 11 Replies - 146 Views - Last Post: 08 October 2012 - 06:27 PM
Replies To: Passing data from a form INTO a running thread
#2
Re: Passing data from a form INTO a running thread
Posted 08 October 2012 - 06:27 PM
Have a look at the Thread.AllocateDataSlot Method
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|