Solved

setting  timer advise needed

Posted on 1999-01-15
2
139 Views
Last Modified: 2010-04-06
hello there
i need a event(simple screen capture) to trigger every 15-20 minutes .The question is what is the best way to do it.The timer that is(not the capture).
i would prefer to be as near to 20 minutes as possible
Any Assistance appreciated
Regards Barry
0
Comment
Question by:inthe
2 Comments
 
LVL 12

Accepted Solution

by:
rwilson032697 earned 50 total points
ID: 1356846
Use a TTimer. Set the enabled property to true, and the interval property to 20*60*1000 milliseconds. Your OnTimer event will be fired every 20 minutes.

For small numbers of timers they are OK, for larger numbers they are resource hogs and can be managed in better ways.

Cheers,

Raymond.
0
 
LVL 17

Author Comment

by:inthe
ID: 1356847
thanks Raymond
now i feel silly
i thought timer had a limitation and i could'nt set it that long
oh well nevermind,live and learn
Regards Barry
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now