Hi
How can Ihave an Random Timer ?
like Timer1.Interval = " here a Random Number "
One more I need al list of all WIndowshandles how do I get this ?
thx
Alex
[Edited by mezzo on 04-10-2000 at 11:44 AM]
Printable View
Hi
How can Ihave an Random Timer ?
like Timer1.Interval = " here a Random Number "
One more I need al list of all WIndowshandles how do I get this ?
thx
Alex
[Edited by mezzo on 04-10-2000 at 11:44 AM]
This will give you a random number between 0 and 100.
No WorriesCode:Randomize
Timer1.Interval = Int(Rnd * 100)
Iain.
Thx for Ur answer does this timer Change during the program ?
Because I need a Timer that changes during the Programm
thanks
alex
If you want the time interval to change during the program there are a couple of ways to fo it.
1. When something happens like a button is clicked, place the previous code i gave you into the event.
2. Or place the code into the timer event of the timer so that every time the event is fired it chooses a different interval for the timer.
Thx didnt think taht works :)
alex