Click here to Skip to main content
15,509,322 members

Comments by sepel (Top 4 by date)

sepel 20-Jul-11 3:41am View    
Thank you.You are corect!. It was solved
sepel 18-Jul-11 23:44pm View    
thanks Joan,But when we use a console application or a windows application it may locks the program because it can not exit the loop.How can use a thread to run a function every 1 minutes and return to main program for any user interaction?
sepel 18-Jul-11 8:35am View    
I test it via a windows server and as you say it runs only one time.
Have you any idea that how use timer or thread to it will be run until service stopped?
sepel 18-Jul-11 3:31am View    
Thanks Abhinav ,
First can I set certain intervals for windows service?If not what is this interval?
And does windows runs all of code each time?It means that It is enough for me to place my code in OnStart method?