Click here to Skip to main content
15,911,891 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralError Handler Pin
nishkarsh_k18-Dec-07 18:51
nishkarsh_k18-Dec-07 18:51 
GeneralRe: Error Handler Pin
pmarfleet19-Dec-07 9:40
pmarfleet19-Dec-07 9:40 
GeneralRe: Error Handler Pin
Paul Conrad22-Dec-07 13:02
professionalPaul Conrad22-Dec-07 13:02 
GeneralRe: Error Handler Pin
nishkarsh_k22-Dec-07 20:46
nishkarsh_k22-Dec-07 20:46 
Question[Message Deleted] Pin
PeterSchregle18-Dec-07 12:10
PeterSchregle18-Dec-07 12:10 
GeneralRe: Pointers and C# Pin
Kevin McFarlane19-Dec-07 10:29
Kevin McFarlane19-Dec-07 10:29 
GeneralRe: Pointers and C# Pin
Mark Salsbery19-Dec-07 10:58
Mark Salsbery19-Dec-07 10:58 
GeneralWindows Service Startup [SOLVED] Pin
#realJSOP18-Dec-07 6:00
professional#realJSOP18-Dec-07 6:00 
I have a Windows service that has an installer class. I set the StartType to ServiceStartMode.Automatic, but after installation, it doesn't automatically start. What didn't I do?

BTW, the service starts fine if I do it in the SCM.

EDIT: I added the following code, and it works great:

class CLFCSServiceInstaller : ServiceInstaller
{
    public override void Commit(System.Collections.IDictionary savedState)
    {
        base.Commit(savedState);
        ServiceController controller = new ServiceController(this.ServiceName);
        controller.Start();
        controller.Close();
    }
}



"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


modified on Tuesday, December 18, 2007 12:36:59 PM

QuestionRetrieving HWND from a Control's Name? (textbox, listview, combobox, etc.) Pin
peepsicola18-Dec-07 3:54
peepsicola18-Dec-07 3:54 
GeneralRe: Retrieving HWND from a Control's Name? (textbox, listview, combobox, etc.) Pin
Shyam K Pananghat2-Jan-08 20:16
Shyam K Pananghat2-Jan-08 20:16 
Questionhow to write some content into CD ROM Pin
palanirajan17-Dec-07 17:01
palanirajan17-Dec-07 17:01 
GeneralRe: how to write some content into CD ROM Pin
N a v a n e e t h17-Dec-07 20:02
N a v a n e e t h17-Dec-07 20:02 
General64 bit problem on orcas Pin
mcamcamca17-Dec-07 3:04
mcamcamca17-Dec-07 3:04 
GeneralRe: 64 bit problem on orcas Pin
Dave Kreskowiak17-Dec-07 10:01
mveDave Kreskowiak17-Dec-07 10:01 
GeneralRe: 64 bit problem on orcas Pin
mcamcamca17-Dec-07 12:08
mcamcamca17-Dec-07 12:08 
GeneralRe: 64 bit problem on orcas Pin
Dave Kreskowiak17-Dec-07 14:35
mveDave Kreskowiak17-Dec-07 14:35 
GeneralRe: 64 bit problem on orcas Pin
mcamcamca17-Dec-07 21:46
mcamcamca17-Dec-07 21:46 
GeneralApplication lockup when Screensaver starts Pin
eissuah16-Dec-07 22:47
eissuah16-Dec-07 22:47 
GeneralRe: Application lockup when Screensaver starts Pin
Dave Kreskowiak17-Dec-07 10:04
mveDave Kreskowiak17-Dec-07 10:04 
GeneralRe: Application lockup when Screensaver starts Pin
Pete O'Hanlon17-Dec-07 12:07
mvePete O'Hanlon17-Dec-07 12:07 
GeneralRe: Application lockup when Screensaver starts Pin
eissuah20-Dec-07 3:42
eissuah20-Dec-07 3:42 
GeneralRe: Application lockup when Screensaver starts Pin
Dave Kreskowiak20-Dec-07 15:48
mveDave Kreskowiak20-Dec-07 15:48 
General.net framwork Pin
montusurati16-Dec-07 20:51
montusurati16-Dec-07 20:51 
GeneralRe: .net framwork Pin
Luc Pattyn17-Dec-07 3:39
sitebuilderLuc Pattyn17-Dec-07 3:39 
GeneralRe: .net framwork Pin
Mark Salsbery19-Dec-07 11:08
Mark Salsbery19-Dec-07 11:08 

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.