i posted it two times prior but never saw either show up in the ng...this
one did. i guess the answer to your question is: "as many times as it takes
before i see it in the ng and can follow/read any responses i get."
;^)
|
| |
| > anyone have problems w/ multiple threads in a windows service? also, how
| can
| > you debug a windows service?
|
| How many times do you plan on asking this question? If you haven't gotten
| answers you like, please be more specific in what you want to know.
|
|
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:
i posted it two times prior but never saw either show up in the ng...this
one did. i guess the answer to your question is: "as many times as it takes
before i see it in the ng and can follow/read any responses i get."
message | "steve" <[email protected]> skrev i en meddelelse
| | > 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-us/vbcon/html/vbtskdebuggingserviceapplications.asp
|
| /Jens
|
|
| --
| Jens Christian Mikkelsen
| http://www.jcmikkelsen.dk
|
|
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.