Home All Groups Group Topic Archive Search About

window application refresh every minute

Author
10 Jul 2006 1:55 PM
martin1
Hi, All,

is there anyway to refresh window-based application every minute? it is like
web-based application refresh by setting up <meta-equiv="refresh"  content
="60">.

Thanks

Author
10 Jul 2006 2:19 PM
Pritcham
Hi

I suppose it depends on what you want to refresh but you could put a
timer control on your form and do whatever you need to from there.

Cheers
Martin
martin1 wrote:
Show quoteHide quote
> Hi, All,
>
> is there anyway to refresh window-based application every minute? it is like
> web-based application refresh by setting up <meta-equiv="refresh"  content
> ="60">.
>
> Thanks
Author
10 Jul 2006 2:31 PM
martin1
Thank you! Pritcham,

I want to refresh whole application, how to set up timer to refresh whole
app (sample code)?

Thanks,

Show quoteHide quote
"Pritcham" wrote:

> Hi
>
> I suppose it depends on what you want to refresh but you could put a
> timer control on your form and do whatever you need to from there.
>
> Cheers
> Martin
> martin1 wrote:
> > Hi, All,
> >
> > is there anyway to refresh window-based application every minute? it is like
> > web-based application refresh by setting up <meta-equiv="refresh"  content
> > ="60">.
> >
> > Thanks
>
>
Author
10 Jul 2006 2:38 PM
Sanjib Biswas
Look at the MSDN help page for Timer class, especially event page.

ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/cpref12/html/E_System_Timers_Timer_Elapsed.htm

Show quoteHide quote
"martin1" <mart***@discussions.microsoft.com> wrote in message
news:3FB2E082-2CE2-47AA-9572-1467F90EDE2E@microsoft.com...
> Thank you! Pritcham,
>
> I want to refresh whole application, how to set up timer to refresh whole
> app (sample code)?
>
> Thanks,
>
> "Pritcham" wrote:
>
>> Hi
>>
>> I suppose it depends on what you want to refresh but you could put a
>> timer control on your form and do whatever you need to from there.
>>
>> Cheers
>> Martin
>> martin1 wrote:
>> > Hi, All,
>> >
>> > is there anyway to refresh window-based application every minute? it is
>> > like
>> > web-based application refresh by setting up <meta-equiv="refresh"
>> > content
>> > ="60">.
>> >
>> > Thanks
>>
>>