Board index » Visual Studio » Threading question

Threading question

Visual Studio103
I have a thread which looks for logged on computers and insert the in a

databasetable (sort of a queue).

I have a seperate thread which fires each minute and processes all computers

in the table in sequential order.

My problem is : I want to change this second thread so I can run the

scanning of 5 seperate computers in 5 seperate threads. (each minute)



How can I do this?



Regards



Geert


-
 

Re:Threading question

Hi Mvmelle,

Here is a good and very simple walkthrough how to manage that.

http://msdn.microsoft.com/library/default.asp?url" rel="nofollow" target="_blank">msdn.microsoft.com/library/default.asp=/library/en-us/vbcon/html/vbconwalkthroughsimplemultithreadedcomponent.asp

I hope this helps,

Cor





-