Re: Windows Service installed but not working???
From: Phill. W (P.A.Ward_at_o-p-e-n-.-a-c-.-u-k)
Date: 05/18/04
- Next message: Cor Ligthert: "Re: DIB - Memorystream"
- Previous message: Jay B. Harlow [MVP - Outlook]: "Re: Windows Service installed but not working???"
- In reply to: acool: "Windows Service installed but not working???"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 18 May 2004 14:48:55 +0100
"acool" <none@sendme.com> wrote in message
news:O1uDD1NPEHA.2452@TK2MSFTNGP11.phx.gbl...
> I managed to get my VB.NET service installed. Now I can't get it to do
> anything. Tell me how do you debug smething like this if you have to
> manually install the assembly to run it?
Start the Service, then atach to the running Process.
> the same code works just fine in a VB form but when I initiallize with
> the WS OnStart event I get nothing.
Is your Service running beyond the onStart Event? Timer? Closed
loop woith a Sleep() call in it?
Remember that you have to have an application "thread" running for
the Service to /continue/ to work and you get one of those for free
in a Form.
HTH,
Phill W.
- Next message: Cor Ligthert: "Re: DIB - Memorystream"
- Previous message: Jay B. Harlow [MVP - Outlook]: "Re: Windows Service installed but not working???"
- In reply to: acool: "Windows Service installed but not working???"
- Messages sorted by: [ date ] [ thread ]