JLRodgers Level: Moderator
 Registered: 04-04-2002 Posts: 1617
|
Re: Timer
[a form with no icon + a certain borderstyle = no icon just text... if you mean the timer control, it's only visible in design time]
Using the timer, it's limited to a integer value.
Inside the timer's fire event... to increase the value... 30,000 is 30 seconds
so... if you want something to happen in say 1 min...
inside the timer's event, you have a variable to count the number of times it's executed, if the execution count is >= the desired time, you reset the variable to 0 or 1, and execute whatever you want.
ex:
' Assuming the timer is set to 30,000
Static iCount as Integer
iCount=iCount+1
If iCount =2 then
' Commands to execute
iCount=1
End if
|
____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)
|