Service sent a stop cmd????

G

Guest

HELP!!!!!

I created a service that cleans out files in a directory.
The problem is it works for a while, then something (windows perhaps?)
sends it a stop-service cmd.

I figure that my software should behave when it is sent a stop-service,
but what would send it a stop????? On shutting down the computer, I could
understand, but that never occured.

Great thanks in advance for any and all help.
 
R

Robson Siqueira

Do you rely on timers or anything like this? Are you sure you don't have an
exception that you are not handling?
 
G

Guest

Yes, there is one service timer. The ServiceTimer_Elapsed is fully error
handled.
 
G

Guest

Never mind....
It was one of my other programs stopping it, upon its start. urg. Thanks
anyhow.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top