By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,606 Members | 2,016 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,606 IT Pros & Developers. It's quick & easy.

"Service" vs. "Program"?

P: n/a
RDI
I'm in the process of wiritng a custom AutoResponder that will run on a
spare PC.

If I don't write it as an actual "Service" but just a program that starts
via the startup folder, will that use any more (or less) resources than
doing it as a Service?

Is it worth the extra effort to do it as a service?

--
RDI
Nov 20 '05 #1
Share this Question
Share on Google+
14 Replies


P: n/a
If it's a program, it's required that the user actually logs on to the
computer.
A service allways start when the computer starts.

If you have a program that needs to run unattended and needs to start
wverytime the computer is rebooted, go with a service.
"RDI" <RD*@IHateSpam.com> wrote in message
news:Oy**************@TK2MSFTNGP11.phx.gbl...
I'm in the process of wiritng a custom AutoResponder that will run on a
spare PC.

If I don't write it as an actual "Service" but just a program that starts
via the startup folder, will that use any more (or less) resources than
doing it as a Service?

Is it worth the extra effort to do it as a service?

--
RDI

Nov 20 '05 #2

P: n/a
If it's a program, it's required that the user actually logs on to the
computer.
A service allways start when the computer starts.

If you have a program that needs to run unattended and needs to start
wverytime the computer is rebooted, go with a service.
"RDI" <RD*@IHateSpam.com> wrote in message
news:Oy**************@TK2MSFTNGP11.phx.gbl...
I'm in the process of wiritng a custom AutoResponder that will run on a
spare PC.

If I don't write it as an actual "Service" but just a program that starts
via the startup folder, will that use any more (or less) resources than
doing it as a Service?

Is it worth the extra effort to do it as a service?

--
RDI

Nov 20 '05 #3

P: n/a
On Mon, 5 Apr 2004 13:23:11 -0400, RDI wrote:
I'm in the process of wiritng a custom AutoResponder that will run on a
spare PC.

If I don't write it as an actual "Service" but just a program that starts
via the startup folder, will that use any more (or less) resources than
doing it as a Service?

Is it worth the extra effort to do it as a service?


I don't know about resource use. I don't think it would use any more
resources. It just adds an entry into the registry so the service control
manager can start it. If you only place it in the startup folder, it will
only be started when someone logs in to the machine. If you want it to run
when the machine boots, whether or not someone logs on, you should write it
as a service.

--
Chris

To send me an E-mail, remove the underscores and lunchmeat from my E-Mail
address.
Nov 20 '05 #4

P: n/a
On Mon, 5 Apr 2004 13:23:11 -0400, RDI wrote:
I'm in the process of wiritng a custom AutoResponder that will run on a
spare PC.

If I don't write it as an actual "Service" but just a program that starts
via the startup folder, will that use any more (or less) resources than
doing it as a Service?

Is it worth the extra effort to do it as a service?


I don't know about resource use. I don't think it would use any more
resources. It just adds an entry into the registry so the service control
manager can start it. If you only place it in the startup folder, it will
only be started when someone logs in to the machine. If you want it to run
when the machine boots, whether or not someone logs on, you should write it
as a service.

--
Chris

To send me an E-mail, remove the underscores and lunchmeat from my E-Mail
address.
Nov 20 '05 #5

P: n/a
Hi

I am new to using regular expressions in VB.NET, and need a bit of help.

I am trying to parse a string that looks like this:
~datastart some variable numbers, characters and spaces of unknown length~
to get this
~datastart~

I tried this:
strWorkingData = Regex.Replace(strWorkingData, "~datastart*~",
"~datastart~")
but it returned the starting value

Any help would be appreciated (including any good resources on how to use
regular expressions)

Thanks for the help

Derrick
Nov 20 '05 #6

P: n/a
Hi

I am new to using regular expressions in VB.NET, and need a bit of help.

I am trying to parse a string that looks like this:
~datastart some variable numbers, characters and spaces of unknown length~
to get this
~datastart~

I tried this:
strWorkingData = Regex.Replace(strWorkingData, "~datastart*~",
"~datastart~")
but it returned the starting value

Any help would be appreciated (including any good resources on how to use
regular expressions)

Thanks for the help

Derrick
Nov 20 '05 #7

P: n/a
One option is to write it as a program, then use Scheduled Tasks to start
the program. One of the options is to start the program "when my computer
starts."

Richard Rosenheim

"Thomas" <no****@nospam.nospam> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
If it's a program, it's required that the user actually logs on to the
computer.
A service allways start when the computer starts.

If you have a program that needs to run unattended and needs to start
wverytime the computer is rebooted, go with a service.
"RDI" <RD*@IHateSpam.com> wrote in message
news:Oy**************@TK2MSFTNGP11.phx.gbl...
I'm in the process of wiritng a custom AutoResponder that will run on a
spare PC.

If I don't write it as an actual "Service" but just a program that starts via the startup folder, will that use any more (or less) resources than
doing it as a Service?

Is it worth the extra effort to do it as a service?

--
RDI


Nov 20 '05 #8

P: n/a
One option is to write it as a program, then use Scheduled Tasks to start
the program. One of the options is to start the program "when my computer
starts."

Richard Rosenheim

"Thomas" <no****@nospam.nospam> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
If it's a program, it's required that the user actually logs on to the
computer.
A service allways start when the computer starts.

If you have a program that needs to run unattended and needs to start
wverytime the computer is rebooted, go with a service.
"RDI" <RD*@IHateSpam.com> wrote in message
news:Oy**************@TK2MSFTNGP11.phx.gbl...
I'm in the process of wiritng a custom AutoResponder that will run on a
spare PC.

If I don't write it as an actual "Service" but just a program that starts via the startup folder, will that use any more (or less) resources than
doing it as a Service?

Is it worth the extra effort to do it as a service?

--
RDI


Nov 20 '05 #9

P: n/a
RDI
Ok--I understand that. If that's the only thing, I'll make a scheduled task
that runs "At Startup". That runs even when nobody has logged on.

Thanks.

"Thomas" <no****@nospam.nospam> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
If it's a program, it's required that the user actually logs on to the
computer.
A service allways start when the computer starts.

If you have a program that needs to run unattended and needs to start
wverytime the computer is rebooted, go with a service.
"RDI" <RD*@IHateSpam.com> wrote in message
news:Oy**************@TK2MSFTNGP11.phx.gbl...
I'm in the process of wiritng a custom AutoResponder that will run on a
spare PC.

If I don't write it as an actual "Service" but just a program that starts via the startup folder, will that use any more (or less) resources than
doing it as a Service?

Is it worth the extra effort to do it as a service?

--
RDI


Nov 20 '05 #10

P: n/a
RDI
Ok--I understand that. If that's the only thing, I'll make a scheduled task
that runs "At Startup". That runs even when nobody has logged on.

Thanks.

"Thomas" <no****@nospam.nospam> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
If it's a program, it's required that the user actually logs on to the
computer.
A service allways start when the computer starts.

If you have a program that needs to run unattended and needs to start
wverytime the computer is rebooted, go with a service.
"RDI" <RD*@IHateSpam.com> wrote in message
news:Oy**************@TK2MSFTNGP11.phx.gbl...
I'm in the process of wiritng a custom AutoResponder that will run on a
spare PC.

If I don't write it as an actual "Service" but just a program that starts via the startup folder, will that use any more (or less) resources than
doing it as a Service?

Is it worth the extra effort to do it as a service?

--
RDI


Nov 20 '05 #11

P: n/a
RDI
PS--This will initially be running on a Win98 machine.

"RDI" <RD*@IHateSpam.com> wrote in message
news:Oy**************@TK2MSFTNGP11.phx.gbl...
I'm in the process of wiritng a custom AutoResponder that will run on a
spare PC.

If I don't write it as an actual "Service" but just a program that starts
via the startup folder, will that use any more (or less) resources than
doing it as a Service?

Is it worth the extra effort to do it as a service?

--
RDI

Nov 20 '05 #12

P: n/a
RDI
PS--This will initially be running on a Win98 machine.

"RDI" <RD*@IHateSpam.com> wrote in message
news:Oy**************@TK2MSFTNGP11.phx.gbl...
I'm in the process of wiritng a custom AutoResponder that will run on a
spare PC.

If I don't write it as an actual "Service" but just a program that starts
via the startup folder, will that use any more (or less) resources than
doing it as a Service?

Is it worth the extra effort to do it as a service?

--
RDI

Nov 20 '05 #13

P: n/a
RDI
Well Richard,

We seem to have had the same thought on the subject.

"Richard L Rosenheim" <ri*****@rlr.com> wrote in message
news:ug**************@TK2MSFTNGP09.phx.gbl...
One option is to write it as a program, then use Scheduled Tasks to start
the program. One of the options is to start the program "when my computer
starts."

Richard Rosenheim

"Thomas" <no****@nospam.nospam> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
If it's a program, it's required that the user actually logs on to the
computer.
A service allways start when the computer starts.

If you have a program that needs to run unattended and needs to start
wverytime the computer is rebooted, go with a service.
"RDI" <RD*@IHateSpam.com> wrote in message
news:Oy**************@TK2MSFTNGP11.phx.gbl...
I'm in the process of wiritng a custom AutoResponder that will run on a spare PC.

If I don't write it as an actual "Service" but just a program that starts via the startup folder, will that use any more (or less) resources than doing it as a Service?

Is it worth the extra effort to do it as a service?

--
RDI



Nov 20 '05 #14

P: n/a
RDI
Well Richard,

We seem to have had the same thought on the subject.

"Richard L Rosenheim" <ri*****@rlr.com> wrote in message
news:ug**************@TK2MSFTNGP09.phx.gbl...
One option is to write it as a program, then use Scheduled Tasks to start
the program. One of the options is to start the program "when my computer
starts."

Richard Rosenheim

"Thomas" <no****@nospam.nospam> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
If it's a program, it's required that the user actually logs on to the
computer.
A service allways start when the computer starts.

If you have a program that needs to run unattended and needs to start
wverytime the computer is rebooted, go with a service.
"RDI" <RD*@IHateSpam.com> wrote in message
news:Oy**************@TK2MSFTNGP11.phx.gbl...
I'm in the process of wiritng a custom AutoResponder that will run on a spare PC.

If I don't write it as an actual "Service" but just a program that starts via the startup folder, will that use any more (or less) resources than doing it as a Service?

Is it worth the extra effort to do it as a service?

--
RDI



Nov 20 '05 #15

This discussion thread is closed

Replies have been disabled for this discussion.