M
Mike Fellows
Having not used threads for such a long time in vb.net I have found myself
in need of them
I have a thread that runs and retirieves live data from a SQL database, this
is running fine and has been doing its job for a long time
the problem is I need to suspend this thread when a checkbox is clicked (as
the data is no longer required) but when the checkbox is unclicked it needs
to restart
simple enough i thought Suspend/Resume exist, problem is as im sure your
aware, these appear to be on the way out (and will be removed completely
from the next version of the .net framework!!)
how do i now suspend/restart a thread without using defunct code???
ive searched the web for this and everything still points to suspend/resume,
which is of little help to me
thanks in advance
Mike Fellows
in need of them
I have a thread that runs and retirieves live data from a SQL database, this
is running fine and has been doing its job for a long time
the problem is I need to suspend this thread when a checkbox is clicked (as
the data is no longer required) but when the checkbox is unclicked it needs
to restart
simple enough i thought Suspend/Resume exist, problem is as im sure your
aware, these appear to be on the way out (and will be removed completely
from the next version of the .net framework!!)
how do i now suspend/restart a thread without using defunct code???
ive searched the web for this and everything still points to suspend/resume,
which is of little help to me
thanks in advance
Mike Fellows