Solved

setting  timer advise needed

Posted on 1999-01-15
2
144 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

734 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