newbie question - vb6 timer
i want to run a sub automatically after a certain time that i specify. The sub is in a class modole, not on a form. Sub is called Public Sub PrfReset(). Is this possilble without a timer? how can i get started on this? thanks....-Newbie
[242 byte] By [
pbeash] at [2007-12-16]
Just for the fun of it, timer is the only good way of doing it.
1sec = 1000 interval
5sec = 5000 interval
and it goes on. | | Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Timer1.Enabled = True End Sub |
In the timer sub just do call module_name.
There is tons of example on this.Don't Reply, listen to the above post!