Simple threading question

R

René Jensen

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
 
A

Armin Zingler

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Threading error with 2005 com port 1
Multi-Threading 9
Threading a form 1
Basic Threading question 19
VB.NET and Threading 4
Get combobox values during threading 3
Threading and Forms 2
rs232 Data Received 7

Top