Click here to Skip to main content
15,894,312 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
i have written one windows application in c#,but i want to make it pop up for every one hour, i have used thred.span() but its taking more cpu usage.
please tell me is there any easy method to do it..

Thanks,
Shreekanth b
Posted

1 solution

You should use Thread.Sleep()[^]. You should also indicate what programming language you are using.
 
Share this answer
 
Comments
Thomas Daniels 5-Jan-13 8:06am    
You should also indicate what programming language you are using.
The OP wrote this in his question:
i have written one windows application in c#
So, he indicated which programming language he's using.
Richard MacCutchan 5-Jan-13 8:31am    
His tag just says "Windows".
shreekanth OT 7-Jan-13 6:47am    
hi Rechards,
Thanks for your replay, but i am running this application every day 8 hours,
Thread always running, so its taking more cpu usage.do have any idea about timer trick.
Richard MacCutchan 7-Jan-13 12:29pm    
Did you try reading the documentation in my suggested link?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900