thanks! exactly what i needed!
"Jens Christian Mikkelsen" <je*********@jcmikkelsenNoSpamPlease.dk> wrote in
message news:eu**************@TK2MSFTNGP10.phx.gbl...
| "steve" <a@b.com> skrev i en meddelelse
| news:10*************@corp.supernews.com...
| > anyone have problems w/ multiple threads in a windows service?
|
| Nope.
|
| > also, how can you debug a windows service?
|
| You need to register and start the service outside VS.NET (or using the
| VS.NET's Server Explorer.) Then attach the debugger, or write the
following
| line in the service code to launch the debugger:
|
| Debugger.Launch()
|
| Alternatively write it like this, to only launch the debugger in Debug
| builds:
|
| #If DEBUG Then
| Debugger.Launch()
| #End If
|
| See also:
|
|
http://msdn.microsoft.com/library/en...plications.asp
|
| /Jens
|
|
| --
| Jens Christian Mikkelsen
|
http://www.jcmikkelsen.dk
|
|