Home All Groups Group Topic Archive Search About
Author
20 Dec 2006 2:31 AM
Adriano
hello,

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

thanks in advance
Adriano

Author
20 Dec 2006 2:41 AM
Chris Mullins
"Adriano" <adri***@mail.it> wrote
> 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.

--
Chris Mullins, MSCD.NET, MCPD:Enterprise
http://www.coversant.net/blogs/cmullins
Author
20 Dec 2006 8:39 AM
Adriano
Hello Chris, thanks for the answer!

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

thanks
Adriano

Show quoteHide quote
"Chris Mullins" <cmull***@yahoo.com> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:ehQFcB%23IHHA.1276@TK2MSFTNGP04.phx.gbl...
> "Adriano" <adri***@mail.it> wrote
>> 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.
>
> --
> Chris Mullins, MSCD.NET, MCPD:Enterprise
> http://www.coversant.net/blogs/cmullins
>
>
Author
20 Dec 2006 1:47 PM
Brian Gideon
Adriano wrote:
> 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
Author
20 Dec 2006 4:27 PM
Chris Mullins
http://www.google.com/search?q=System.Threading.Timer

--
Chris Mullins, MCSD.NET, MCPD:Enterprise
http://www.coversant.net/blogs/cmullins

Show quote Hide quote
"Adriano" <adri***@mail.it> wrote in message
news:OkW$RMBJHHA.4000@TK2MSFTNGP06.phx.gbl...
> Hello Chris, thanks for the answer!
>
> can you please give an example? I'm not an advaned programmer/
>
> thanks
> Adriano
>
> "Chris Mullins" <cmull***@yahoo.com> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ
> ÓÌÅÄÕÀÝÅÅ: news:ehQFcB%23IHHA.1276@TK2MSFTNGP04.phx.gbl...
>> "Adriano" <adri***@mail.it> wrote
>>> 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.
>>
>> --
>> Chris Mullins, MSCD.NET, MCPD:Enterprise
>> http://www.coversant.net/blogs/cmullins
>>
>>
>
>