Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21096

Doevent & Loop VS Timer

$
0
0
I did a test.
I created a timer, with some HARD code
and a Loop event, with the same exact code

The Timer was running slow, Really slow, but was not using cpu.
The Loop ..... was running REALLY FAST. But the cpu % was 50%.

How ?
I don't get why the loop has more power than timer
using a timer become 100% useless , no ?

is there a way to Slow down the Loop ?
to makes it run like 30-40-50 % slower ( since the timer was only using 2%.... it would use more, i wouldnt be mad , haha)

Viewing all articles
Browse latest Browse all 21096

Trending Articles