Simple threading question

  • Thread starter Thread starter HardySpicer
  • Start date Start date
and found that he uses a definition Dim t as Thread

this should work, but remember to to have a:

Imports system.threading

I have been using thread's from threading a few times with success
 
HardySpicer said:
I looked here

http://www.devx.com/DevX/10MinuteSolution/20365

and found that he uses a definition Dim t as Thread

My version of vb 2005 does not accept this. Is this out of date? It
has threading and a whole lot more. Which do I use?

As stated on the page, Thread is part of the System.Threading namespace, so
either import the namespace or use the full qualified name
System.Threading.Thread.

see also:
http://msdn2.microsoft.com/en-us/library/9z4yz8w6(VS.90).aspx

http://msdn2.microsoft.com/en-us/library/fz3btyt3(VS.90).aspx


Armin
 
Back
Top