I need someone to create a simple visual basic 2010 project to show me how to do the following using threadpooling, this is just for me to learn and in the future the tasks will be doing alot more things than just setting variables :
TaskA : 10 variables are set and the same variables are used all the time.
TaskB : The variables from TaskA are collected and more variables are set.
TaskC : The variables from TaskB are collected and more variables are set.
TaskD : The variables from TaskC are collected and more variables are set.
TaskE : The variables from TaskD are collected and more variables are set.
TaskF : The variables from TaskE are collected and more variables are set. (Only one instance of this task should be run at a time)
TaskG : The variables from TaskF are collected and more variables are set.
In each task there must be a check to see if an error has occured and if it has then the thread should close and another fresh one started from TaskA.
On a click of a button 10 threads are started and they all run TaskA, when one finishes TaskA it moves onto TaskB and another thread is started to run TaskA and so on, until the amount of full runs needed has been reached.
This part is crucial. All the variables will need to be thread safe so when theres lots of threads doing the same task they dont interfere with eachother and the correct data is passed on to the next Task.
The form must have a the following on it :
1) A textbox where the total number of runs needed can be set.
2) A textbox where the maximum total number of threads running at one time can be set.
3) A Start button which is disabled when the process is running.
4) A Pause button which obviously pauses everything.
5) A Stop button which obviously stops everything and clears everything ready for if the user decides to start again.
You can decide what the actual tasks do but using some kind of webscraping or similar would be ideal.
The person I choose must be able to chat to me on MSN or Skype to make sure I fully understand it.