Threading

  • Thread starter Thread starter Adriano
  • Start date Start date
A

Adriano

hello,

how can I make "timer" run in a separate thread using vb.net 2005???

thanks in advance
Adriano
 
Adriano said:
how can I make "timer" run in a separate thread using vb.net 2005???

System.Threading.Timer

When you get callbacks, they'll be coming in on a different thread.
 
Hello Chris, thanks for the answer!

can you please give an example? I'm not an advaned programmer/

thanks
Adriano
 
Adriano said:
Hello Chris, thanks for the answer!

can you please give an example? I'm not an advaned programmer/

thanks
Adriano

Adriano,

The MSDN documentation has an example. Also, the System.Timers.Timer
will execute the event handler in a separate thread.

Brian
 
Back
Top