Click here to Skip to main content
15,888,984 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi everyone,

I need help in making a windows service in C# which checks and inserts date time when it is installed in a text file..plus it calculates 3 months time from date when it is installed..NOTE: irrespective of system time it calculates time itself and stores it after every 24 hrs..and on the basis of that it calculates [date], now if the date is reached 3 months calculating from the date installed..it raises a flag and calls an window application...

Please help me how to make this possible..

Regards,
Krunal Panchal
Posted
Updated 6-Sep-12 11:34am
v2
Comments
db7uk 6-Sep-12 17:41pm    
I dont understand. could you re-phrase the question?
[no name] 6-Sep-12 17:45pm    
Create Windows Service project. Get date. Write date to file. Wait 24 hours. Get date. Write date to file. Repeat for 3 months. Raise flag (whatever that means), Process.Start("other windows application");
[no name] 6-Sep-12 18:26pm    
dear crunal, it is not possible to calculate the time for three months if you doesn't consider system date/doesn't use server/switch of your pc/close the application.

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