Click here to Skip to main content
15,892,059 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Drawing 8-bit images in VB.NET 2003 Pin
Christian Graus14-Jun-07 11:25
protectorChristian Graus14-Jun-07 11:25 
QuestionAdvanced error handle [modified] Pin
haggenx14-Jun-07 5:30
haggenx14-Jun-07 5:30 
AnswerRe: Advanced error handle Pin
Dave Kreskowiak14-Jun-07 6:34
mveDave Kreskowiak14-Jun-07 6:34 
GeneralRe: Advanced error handle Pin
haggenx15-Jun-07 6:16
haggenx15-Jun-07 6:16 
Questionsearch files using recursive directory info Pin
jds120714-Jun-07 4:58
jds120714-Jun-07 4:58 
AnswerRe: search files using recursive directory info Pin
Kevin McFarlane14-Jun-07 9:05
Kevin McFarlane14-Jun-07 9:05 
QuestionFinding out if service is responsive QueryServiceStatus () Pin
berghain14-Jun-07 4:34
berghain14-Jun-07 4:34 
AnswerRe: Finding out if service is responsive QueryServiceStatus () Pin
Dave Kreskowiak14-Jun-07 6:19
mveDave Kreskowiak14-Jun-07 6:19 
topherino wrote:
The thing is, if the other service has crashed, then what will the status be?


The behavior is undefined. It depends on who the service crashed and if it's even still capable of responding to the SCM. If it IS still responding, but the worker thread(s) in the service have crashed, well, there's no way for the SCM to know that unless the service code can tell if it's own worker threads have died. If it can't, it'll tell the SCM everything is just peachy!

These status codes are only reliable if the service is responding and working normally AND is properly coded to monitor it's own worker threads. If not, none of these status code mean a bloody thing.


topherino wrote:
Before anyone tells me to fix the other service, I cannot as the company that wrote it is bust,


Hmmm. I wonder why that is... I'd start looking for a replacement for this service if at all possible.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: Finding out if service is responsive QueryServiceStatus () Pin
berghain14-Jun-07 22:08
berghain14-Jun-07 22:08 
GeneralRe: Finding out if service is responsive QueryServiceStatus () Pin
Dave Kreskowiak15-Jun-07 4:05
mveDave Kreskowiak15-Jun-07 4:05 
GeneralRe: Finding out if service is responsive QueryServiceStatus () Pin
berghain15-Jun-07 4:28
berghain15-Jun-07 4:28 
GeneralRe: Finding out if service is responsive QueryServiceStatus () Pin
Dave Kreskowiak15-Jun-07 8:13
mveDave Kreskowiak15-Jun-07 8:13 
QuestionHow to read XML file and write it into Excel by using VB.Net 2.0 Pin
Be_Aman14-Jun-07 4:19
Be_Aman14-Jun-07 4:19 
AnswerRe: How to read XML file and write it into Excel by using VB.Net 2.0 Pin
Dave Kreskowiak14-Jun-07 6:08
mveDave Kreskowiak14-Jun-07 6:08 
QuestionManipulating ListBoxes in MS Access/VBA Pin
reegan4114-Jun-07 4:12
reegan4114-Jun-07 4:12 
AnswerRe: Manipulating ListBoxes in MS Access/VBA Pin
Dave Kreskowiak14-Jun-07 5:59
mveDave Kreskowiak14-Jun-07 5:59 
GeneralRe: Manipulating ListBoxes in MS Access/VBA Pin
reegan4114-Jun-07 6:05
reegan4114-Jun-07 6:05 
GeneralRe: Manipulating ListBoxes in MS Access/VBA Pin
Dave Kreskowiak14-Jun-07 6:13
mveDave Kreskowiak14-Jun-07 6:13 
GeneralRe: Manipulating ListBoxes in MS Access/VBA Pin
reegan4114-Jun-07 7:06
reegan4114-Jun-07 7:06 
GeneralRe: Manipulating ListBoxes in MS Access/VBA Pin
reegan4114-Jun-07 7:18
reegan4114-Jun-07 7:18 
GeneralRe: Manipulating ListBoxes in MS Access/VBA Pin
Dave Kreskowiak14-Jun-07 8:18
mveDave Kreskowiak14-Jun-07 8:18 
GeneralRe: Manipulating ListBoxes in MS Access/VBA Pin
reegan4114-Jun-07 9:05
reegan4114-Jun-07 9:05 
QuestionHow to ristrict a Windows form to Single instance Pin
pashitech14-Jun-07 4:04
pashitech14-Jun-07 4:04 
AnswerRe: How to ristrict a Windows form to Single instance Pin
Dave Kreskowiak14-Jun-07 5:52
mveDave Kreskowiak14-Jun-07 5:52 
QuestionDeveloping a Keylogger Pin
akatsa14-Jun-07 3:49
akatsa14-Jun-07 3:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.