Re: Running a procedure every x seconds
From: Wouter de Kort (wouter_dk_NO_SPAM_at_hotmail.com)
Date: 12/27/04
- Next message: Jamie: "Re: Running a procedure every x seconds"
- Previous message: Simon: "Running a procedure every x seconds"
- In reply to: Simon: "Running a procedure every x seconds"
- Next in thread: Jamie: "Re: Running a procedure every x seconds"
- Reply: Jamie: "Re: Running a procedure every x seconds"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 27 Dec 2004 17:10:07 +0100
"Simon" <email@isonthewebsite.com> schreef in bericht
news:9bKdnWKV7Y1OrE3cRVnysg@eclipse.net.uk...
> Hi,
>
> I'm new to Delphi, so forgive me for the "noob" posting.
>
> I have an application that reads an XML page from the web and saves the
> data
> to a text file. At the moment this process is triggered manually from a
> button press - what I want to do is remove the button and instead have
> this
> process happen every 30seconds from when the application is launched.
>
> What's the best way of doing this?
>
You could have a look at the Timer component :) You can set an interval and
each time the interval passes it will trigger an event.
Good luck!
Wouter
- Next message: Jamie: "Re: Running a procedure every x seconds"
- Previous message: Simon: "Running a procedure every x seconds"
- In reply to: Simon: "Running a procedure every x seconds"
- Next in thread: Jamie: "Re: Running a procedure every x seconds"
- Reply: Jamie: "Re: Running a procedure every x seconds"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]