M
Mr Newbie
I have a Windows Service and I am using a Timer on it with an interval of 10
seconds. The assembly has full trust and the service is running under the
localmachine permission.
In the timer tick I have the following code.
Dim fs As New System.IO.FileStream("C:\ticking.txt", IO.FileMode.Append)
Dim sw As New System.IO.StreamWriter(fs)
sw.WriteLine("im tickin")
sw.Flush()
///
I have the timer enabled and have used the
Timer1.Start() in the OnStart sub routine.
It does not work, any ideas !!!!!!!!!!!!
seconds. The assembly has full trust and the service is running under the
localmachine permission.
In the timer tick I have the following code.
Dim fs As New System.IO.FileStream("C:\ticking.txt", IO.FileMode.Append)
Dim sw As New System.IO.StreamWriter(fs)
sw.WriteLine("im tickin")
sw.Flush()
///
I have the timer enabled and have used the
Timer1.Start() in the OnStart sub routine.
It does not work, any ideas !!!!!!!!!!!!