473,408 Members | 2,441 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

"Service" vs. "Program"?

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
14 2374
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
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
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
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
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
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
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
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
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Chris | last post by:
I built small C# Web and Web Service applications in a training class last week. The applications worked in the class, but when I tried to run them again over the weekend, they both bombed....
1
by: Mary Kerrigan | last post by:
I'm tearing out my freakin' hair on this one. Trying to deploy an ASP.NET site on a Windows 2000 Advanced Server. The framework v1.0.3705 was already installed, not by me. When I tried to get to...
14
by: RDI | last post by:
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...
4
by: SH | last post by:
I wish to create a program (really a Windows Service) that sits and waits for a client PC to communicate with it, but I can't come up with a good method of doing so. I want to have a service...
2
by: domtam | last post by:
Hi there. My goal is to write a windows service that can act as HTTP Request server. How can I do that? I know that I can use ASP.NET to develop a web site to achieve this purpose, i.e....
0
by: JM | last post by:
I have created simple windows service which just write message to event log when it starts and stops. I am able to install it succesfully using: installutil <service_file.exe>, where...
1
by: =?Utf-8?B?cm9zczYxMw==?= | last post by:
I'm puzzled by an error message encountered while creating a Windows Service. In particular, I'm creating a second Windows Service within a Windows Service project, using Visual Studio 2005. The...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.