Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help needed with timers

Status
Not open for further replies.

fergmj

Programmer
Feb 21, 2001
276
US
I am copying a file into a directory. I want to send the file after ten minutes and then send it again after another ten minutes.

Does anyone know how I can do that?

Thanks

fergmj
 
Set a module level, form level, class level variable with the time when you want it to happen. In a Timer Control Event, check
Code:
if Now > savedTime then 
    COPYFILE
    savedtime = DateAdd("s",10,Now)
End if
 
John -

I think I see what you are getting at. But what do you mean by setting a module level, form level and class level variable with the time. I am lost on that one.

Thanks

fergmj
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top