Click here to Skip to main content
16,005,121 members
Home / Discussions / C#
   

C#

 
GeneralRe: Nunit for Databases Pin
Anonymous10-Aug-05 5:25
Anonymous10-Aug-05 5:25 
GeneralRe: Nunit for Databases Pin
Anonymous10-Aug-05 7:54
Anonymous10-Aug-05 7:54 
GeneralRe: Nunit for Databases Pin
OmegaMan11-Aug-05 11:00
OmegaMan11-Aug-05 11:00 
QuestionHow to programmatically set the focus on a selected tree node? Pin
bouli10-Aug-05 4:18
bouli10-Aug-05 4:18 
AnswerRe: How to programmatically set the focus on a selected tree node? Pin
Ankit Sgl10-Aug-05 4:26
Ankit Sgl10-Aug-05 4:26 
GeneralRe: How to programmatically set the focus on a selected tree node? Pin
bouli10-Aug-05 5:22
bouli10-Aug-05 5:22 
GeneralStopping Window Service to start Pin
Ankit Sgl10-Aug-05 4:11
Ankit Sgl10-Aug-05 4:11 
AnswerRe: Stopping Window Service to start Pin
Heath Stewart10-Aug-05 5:06
protectorHeath Stewart10-Aug-05 5:06 
Services start before any login is possible. Normal applications do not start until a user logs in. A good solution would be to have your service start automatically (ServiceInstaller.StartType set to ServiceStartMode.Automatic) and throw an exception from OnStart if the conditions are valid. Do not try to stop the service from within OnStart using the ServiceController. At this point the service controller database is still locked while startup code runs. If you try to stop it you will have a deadlock and any services scheduled to start after yours will not start - ever.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Customer Product-lifecycle Experience
Microsoft

[My Articles] [My Blog]
Generalwindows service Pin
horacyjr10-Aug-05 3:18
horacyjr10-Aug-05 3:18 
GeneralRe: windows service Pin
Darryl Borden10-Aug-05 3:56
Darryl Borden10-Aug-05 3:56 
GeneralRe: windows service Pin
horacyjr10-Aug-05 4:10
horacyjr10-Aug-05 4:10 
GeneralRe: windows service Pin
Dave Kreskowiak10-Aug-05 12:09
mveDave Kreskowiak10-Aug-05 12:09 
Generalhook to capture these messages Pin
pjoseph99910-Aug-05 2:47
pjoseph99910-Aug-05 2:47 
GeneralRe: hook to capture these messages Pin
Alomgir Miah10-Aug-05 5:50
Alomgir Miah10-Aug-05 5:50 
GeneralRe: hook to capture these messages Pin
pjoseph99910-Aug-05 21:50
pjoseph99910-Aug-05 21:50 
QuestionDB the way to go? Pin
Morrgan10-Aug-05 1:28
Morrgan10-Aug-05 1:28 
AnswerRe: DB the way to go? Pin
Dario Solera10-Aug-05 1:37
Dario Solera10-Aug-05 1:37 
GeneralRe: DB the way to go? Pin
Morrgan10-Aug-05 6:07
Morrgan10-Aug-05 6:07 
AnswerRe: DB the way to go? Pin
Guffa10-Aug-05 6:51
Guffa10-Aug-05 6:51 
GeneralRe: DB the way to go? Pin
Morrgan10-Aug-05 7:40
Morrgan10-Aug-05 7:40 
GeneralForm Painting Pin
Greeky10-Aug-05 0:54
Greeky10-Aug-05 0:54 
GeneralRe: Form Painting Pin
Dario Solera10-Aug-05 1:17
Dario Solera10-Aug-05 1:17 
GeneralRe: Form Painting Pin
Greeky10-Aug-05 2:23
Greeky10-Aug-05 2:23 
Questionhow import dll of vc++ in c# Pin
laila1110-Aug-05 0:43
laila1110-Aug-05 0:43 
AnswerRe: how import dll of vc++ in c# Pin
Dario Solera10-Aug-05 1:25
Dario Solera10-Aug-05 1:25 

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.