A1VBCode Forums

multiple processe using backgroundworker vb.net


http://www.a1vbcode.com/vbforums/Topic32074.aspx

By chaw12 - 10/6/2013

hi,

i have a project where in user can do bulky printing. and for this kind of task i know that i have to use the BackgroundWorker object of vb.net.

the BGWorker is already running using a single process.



my problem is i want the BGWorker to process multiple task or maybe one at a time task; FIFO method i guess. but i dont know how.

also, in my BGWorker i am using a DATAREADER. and we all know that if there is an open datareader the system will throw an error.



Note: i know how to close the datareader, but if it being used by the BGworker. Datareader in different form will going to throw an error if i activate that other form..





Hope its clear..