vb_dotnet thread: AW: Re: AW: RE: AW: RE: AW: RE: How can I start a service when th e comput er boots up?
Is this the only case where you see this? Have you tried creating a test=
\dummy
windows service, set it to auto, reboot the machine and see what happens?=
>-- Original Message --
>Subject: [vb_dotnet] AW: Re: AW: RE: AW: RE: AW: RE: How can I start a
service
>when th e comput er boots up?
>Date: Wed, 20 Nov 2002 15:02:44 +0100
>From: "Gerhard Krenn" <gerhard@krenn.net>
>To: "VB_dotnet" <vb_dotnet@p2p.wrox.com>
>Cc: <rainsley@pacbell.net>
>Reply-To: "VB_dotnet" <vb_dotnet@p2p.wrox.com>
>
>
>Hi!
>
>The code works fine and so does the service when I start it per hand usi=
ng
>the service manager or "net start servicename" at the command prompt...
>The problem is that I need it to start without interaction from a person=
>because the server on which the service needs to be run is away from any=
>persons....
>
>
>> -----Urspr=FCngliche Nachricht-----
>> Von: Richard Ainsley [mailto:rainsley@pacbell.net]
>> Bereitgestellt: Mittwoch, 20. November 2002 10:26
>> Bereitgestellt in: VB.NET
>> Unterhaltung: [vb_dotnet] Re: AW: RE: AW: RE: AW: RE: How can
>> I start a service when th e comput er boots up?
>> Betreff: [vb_dotnet] Re: AW: RE: AW: RE: AW: RE: How can I
>> start a service when th e comput er boots up?
>>
>>
>> Sounds like it has an error in it. Can you run it from the
>> IDE and test it where you can step through it? It is time
>> you give it a try.
>>
>>
>> ----- Original Message -----
>> From: "Gerhard Krenn" <gerhard@krenn.net>
>> To: "VB_dotnet" <vb_dotnet@p2p.wrox.com>
>> Sent: Wednesday, November 20, 2002 1:08 AM
>> Subject: [vb_dotnet] AW: RE: AW: RE: AW: RE: How can I start
>> a service when th e comput er boots up?
>>
>>
>> Hi!
>>
>> Even if I do what you suggested, it does not start.
>> Pretty bad for me I think!
>>
>> Thanks for your help!
>>
>>
>> Greets
>> Gerhard
>>
>> > -----Urspr=FCngliche Nachricht-----
>> > Von: Michael Piccolo [mailto:mpiccolo@wordandbrown.com]
>> > Bereitgestellt: Dienstag, 19. November 2002 21:50
>> Bereitgestellt in:
>> > VB.NET
>> > Unterhaltung: [vb_dotnet] RE: AW: RE: AW: RE: How can I start a
>> > service when th e comput er boots up?
>> > Betreff: [vb_dotnet] RE: AW: RE: AW: RE: How can I start a service
>> > when th e comput er boots up?
>> >
>> >
>> > I have never encountered an instance where this didn't
>> work. However,
>> > if you are still having problems, you can manually set the startup
>> > property of the service in Control Panel.
>> >
>> > Control Panel -> Services -> Your Service -> General Tab -> Startup
>> > Type
>> >
>> > -----Original Message-----
>> > From: Gerhard Krenn [mailto:gerhard@krenn.net]
>> > Sent: Tuesday, November 19, 2002 11:24 AM
>> > To: VB_dotnet
>> > Subject: [vb_dotnet] AW: RE: AW: RE: How can I start a service when
>> > the comput er boots up?
>> >
>> > TNX for the tip but I have the following line in my code:
>> > "Me.ServiceInstaller1.StartType =3D
>> > System.ServiceProcess.ServiceStartMode.Automatic"
>> >
>> > It ist a strange issue, isn=B4t it`?
>> >
>> >
>> >
>> > > -----Urspr=FCngliche Nachricht-----
>> > > Von: Michael Piccolo [mailto:mpiccolo@wordandbrown.com]
>> > > Bereitgestellt: Dienstag, 19. November 2002 19:34
>> Bereitgestellt in:
>> > > VB.NET
>> > > Unterhaltung: [vb_dotnet] RE: AW: RE: How can I start a
>> service when
>> > > the comput er boots up?
>> > > Betreff: [vb_dotnet] RE: AW: RE: How can I start a
>> service when the
>> > > comput er boots up?
>> > >
>> > >
>> > > thisServiceInstaller.StartType =3D
>> > > System.ServiceProcess.ServiceStartMode.Automatic;
>> > >
>> > > This goes in your ProjectInstaller class in the Service Project
>> > > solution.
>> > >
>> > >
>> > >
>> > > -----Original Message-----
>> > > From: Gerhard Krenn [mailto:gerhard@krenn.net]
>> > > Sent: Tuesday, November 19, 2002 9:45 AM
>> > > To: VB_dotnet
>> > > Subject: [vb_dotnet] AW: RE: How can I start a service when the
>> > > computer boots up?
>> > >
>> > > Yes, of course.
>> > > But it doesn=B4t start...
>> > >
>> > > Hints?
>> > >
>> > > Regards
>> > > Gerhard
>> > >
>> > > > -----Urspr=FCngliche Nachricht-----
>> > > > Von: Greg Robinson [mailto:gregr@scribblesoftware.com]
>> > > > Bereitgestellt: Sonntag, 17. November 2002 16:24
>> > Bereitgestellt in:
>> > > > VB.NET
>> > > > Unterhaltung: [vb_dotnet] RE: How can I start a service
>> when the
>> > > > computer boots up?
>> > > > Betreff: [vb_dotnet] RE: How can I start a service when the
>> > > > computer boots up?
>> > > >
>> > > >
>> > > > I assume you set it to automatic in the code too?
>> > > >
>> > > >
>> > > > >-- Original Message --
>> > > > >Date: Sun, 17 Nov 2002 07:56:57
>> > > > >From: "GKrenn" <vb@moderne-medizin.at>
>> > > > >To: "VB_dotnet" <vb_dotnet@p2p.wrox.com>
>> > > > >Subject: [vb_dotnet] How can I start a service when the
>> > > > computer boots
>> > > > up?
>> > > > >Reply-To: "VB_dotnet" <vb_dotnet@p2p.wrox.com>
>> > > > >
>> > > > >
>> > > > >Hi!
>> > > > >
>> > > > >
>> > > > >I just created a windows service which works fine except
>> > > the problem
>> > > > >that
>> > > > >
>> > > > >it does not start when the computer is booting.
>> > > > >In Service Manager the startup mode ist "Automatic" but I
>> > > > have to click
>> > > > on
>> > > > >
>> > > > >the start button to start it or I have to type "net start
>> > > > servicename"
>> > > > at
>> > > > >
>> > > > >the command prompt.
>> > > > >
>> > > > >How can I tell the service to start automatically?
>> > > > >
>> > > > >
>> > > > >TNX
>> > > > >Gerhard
>> > > > >---
>> > > > >Change your mail options at
>> http://p2p.wrox.com/manager.asp or to
>> > > > >unsubscribe
>> send a blank email to
>> > > > %%email.unsub%%.
>> > > >
>> > > >
>> > > >
>> > > > Greg Robinson
>> > > > Director of Training and .NET Technologies
>> > > > Scribble Software and Training
>> > > > www.scribblesoftware.com
>> > > > www.scribbletraining.com
>> > > >
>> > > >
>> > > > ---
>> > > > Change your mail options at
>> http://p2p.wrox.com/manager.asp or to
>> > > > unsubscribe send
>> a blank email to %%email.unsub%%.
>> > > >
>> > >
>> > > ---
>> > > Change your mail options at http://p2p.wrox.com/manager.asp or to
>> > > unsubscribe send a blank email to %%email.unsub%%.
>> > >
>> > > ---
>> > > Change your mail options at http://p2p.wrox.com/manager.asp or to
>> > > unsubscribe send a blank email to %%email.unsub%%.
>> > >
>> >
>> > ---
>> > Change your mail options at http://p2p.wrox.com/manager.asp or to
>> > unsubscribe send a blank email to %%email.unsub%%.
>> >
>> > ---
>> > Change your mail options at http://p2p.wrox.com/manager.asp or to
>> > unsubscribe send a blank email to %%email.unsub%%.
>> >
>>
>> ---
>> Change your mail options at http://p2p.wrox.com/manager.asp or
>> to unsubscribe send a blank email to %%email.unsub%%.
>>
>>
>> ---
>> Change your mail options at http://p2p.wrox.com/manager.asp or
>> to unsubscribe send a blank email to
>> %%email.unsub%%.
>>
>
>---
>Change your mail options at http://p2p.wrox.com/manager.asp or
>to unsubscribe send a blank email to leave-vb_dotnet-1344976I@p2p.wrox.c=
om.
Greg Robinson
Director of Training and .NET Technologies
Scribble Software and Training
www.scribblesoftware.com
www.scribbletraining.com