2 Replies - 501 Views - Last Post: 30 October 2013 - 05:34 AM Rate Topic: -----

#1 RobertM  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 08-October 12

Passing data from a form INTO a running thread

Posted 08 October 2012 - 11:29 AM

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!

Is This A Good Question/Topic? 0
  • +

Replies To: Passing data from a form INTO a running thread

#2 lar3ry  Icon User is offline

  • Coding Geezer
  • member icon

Reputation: 310
  • View blog
  • Posts: 1,290
  • Joined: 12-September 12

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
Was This Post Helpful? 0
  • +
  • -

#3 bkerez  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 15-February 09

Re: Passing data from a form INTO a running thread

Posted 30 October 2013 - 05:34 AM

did you get an answer?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1