472,374 Members | 1,498 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,374 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 2282
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: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
0
DizelArs
by: DizelArs | last post by:
Hi all) Faced with a problem, element.click() event doesn't work in Safari browser. Tried various tricks like emulating touch event through a function: let clickEvent = new Event('click', {...

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.