
Multiple Timers, Events Queue, DoEvents Don't Work
It sounds like you need to run these processes on different threads. This
way they can all run independently and won't queue up and block eachother
like you are experiencing. Using threads, you will also be able to set the
priority of different threads so that some get more processor time than
others.
Here's more info:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcn...
vaconThreadingInVisualBasic.asp
--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
Quote:
> HI, I have multiple timers. I am using the System.Timers.Timer class. In
one
> of the timer events I have to call a method on another class that requires
> some intinsive processing. That timer has an interval of about 333ms,
taking
> about 250ms to complete. On the other timer I am performing a some simple
> calculation. This timer has an interval of 50ms.
> Even with Application.DoEvents inside a loop of the intinsive processing
> function called from timer1. The events queue up in timer2 and i get about
> 5-6 events that happen at the same time.
> Please help!
> Thanks!