TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Programing Languages > VB.NET

Notices

Simple threading question

VB.NET


Reply
 
Thread Tools Display Modes
Old 15-12-2007, 01:20 AM   #1
HardySpicer
Guest
 
Posts: n/a
Simple threading question

I looked here



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?

Thanks

Hardy
  Reply With Quote
Old 15-12-2007, 02:30 AM   #2
René Jensen
Guest
 
Posts: n/a
Re: Simple threading question


> 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
  Reply With Quote
Old 15-12-2007, 03:28 AM   #3
Armin Zingler
Guest
 
Posts: n/a
Re: Simple threading question

"HardySpicer" <> schrieb
> I looked here
>
>
>
> 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:





Armin

  Reply With Quote
Reply

Thread Tools
Display Modes



< Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 07:22 AM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2009, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional