Threading

A

Adriano

hello,

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

thanks in advance
Adriano
 
C

Chris Mullins

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.
 
A

Adriano

Hello Chris, thanks for the answer!

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

thanks
Adriano
 
B

Brian Gideon

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
 

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


Top