help in windows services
-
Hi i have make an windows services in c# ... the code is running ok ... there is no error in that .... in my code i am trying to hook the keyboard and save all the pressed keys in a txt file ... on services start it has to make a txt file and when the service stop it has to make one more txt file but on start it is not meaking any file but on stop it is meaking a file ... i don't know what is the problem with it ... i can send you my code if you can solve my this problem ... ok seea byee waiting for a flash reply ... Maz.:-O Mazhar Hussain
-
Hi i have make an windows services in c# ... the code is running ok ... there is no error in that .... in my code i am trying to hook the keyboard and save all the pressed keys in a txt file ... on services start it has to make a txt file and when the service stop it has to make one more txt file but on start it is not meaking any file but on stop it is meaking a file ... i don't know what is the problem with it ... i can send you my code if you can solve my this problem ... ok seea byee waiting for a flash reply ... Maz.:-O Mazhar Hussain
You might want to double check the code that is opening and writing that first file. Maybe your handling and burying an expection that is being returned when the file is opened. You might want to check the Event Log for any errors and you might want to modifiy your code to report any handled exceptions to the Event Log to make it easier to debug your service. You can check out Debugging Windows Service Applications[^] on MSDN for more information. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
You might want to double check the code that is opening and writing that first file. Maybe your handling and burying an expection that is being returned when the file is opened. You might want to check the Event Log for any errors and you might want to modifiy your code to report any handled exceptions to the Event Log to make it easier to debug your service. You can check out Debugging Windows Service Applications[^] on MSDN for more information. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
Can you pls send code to me. I don't say I will solve the problem but I want to give it a try Sandeep Naik sandeep_n75@hotmail.com