"Service" vs. "Program"?

  • Thread starter Thread starter RDI
  • Start date Start date
R

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?
 
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.
 
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.
 
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
 
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 said:
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.
 
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 said:
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.
 
Well Richard,

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

Richard L Rosenheim said:
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
 
Back
Top