I'm assuming this is a winforms app? Under the All Windows Controls tab in
the toolbox is a Timer control. Set the time interval to number of
milliseconds (i.e. 5 seconds = 5000 milliseconds) and tie the timer event to
a method in your form (or generate a new timer event method) and away you
go!
Robert
"Materialised" <materialised@privacy.net> wrote in message
news:48jfbtFkarv9U1@individual.net...[color=blue]
> Hi Everyone,
>
> I am developing a application for my personal use. Basically what it will
> do is grab still images from my webcam at a set interval of time. And save
> them to me hard disk. The program then uploads the files to my ftp server
> for inclusion on my website.
>
> This part is all working fine, however, what I want to do next is upload
> all photos created in the (for this purpose lets say) past hour (which can
> be user defined), to a different directory on the ftp server, for archive
> purposes. Now the upload isn't a issue, but I am unsure of how to approach
> the performing of the upload at a certian interval of time as provided by
> the user.
> Obviously it would require some sort of timer to enable me to do this, but
> I am totally new to C#.
>
> I am not asking for people to write the code for me, I am just looking for
> general idea on how to accomplish what I want.
>
> I anticipate your responses
>
> Regards[/color]
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---