views:

39

answers:

0

Possible Duplicates:
Windows service
Get current date everyday for a Windows service

Hi All....I wrote one windows serviec which is running in every 1 min...But i wrote a function inside that which need to execute only at ceratin time only once in a day..now i have hardcoded a date & time but how i will write code to execute that function only once in every day on certain time.. i did following hardcoded code... Dim checkTime As DateTime checkTime = checkTime.Parse("7/23/2010 3:41 PM")

My Service is in VB.NET