Solved

Running something 24 hours a day

Posted on 2004-04-01
8
217 Views
Last Modified: 2010-04-15
If I am constructing a system that runs 24 hours a day......what is the best way to do this?

Are things like this run as web services....or just normal services (what are the different "kinds" of services I can write?)

Also....I will want to run silently in the background (as inobtrusively as possible).....but still have some sort of GUI (windows form) that I can invoke.....to shut it down or configure a setting.....
0
Comment
Question by:knowlton
  • 4
  • 3
8 Comments
 
LVL 5

Author Comment

by:knowlton
ID: 10736420
Hmmmm......sort of sounds like a system tray icon......

?????
0
 
LVL 5

Author Comment

by:knowlton
ID: 10736441
I mean...I think I am describing a windows app that runs from the system tray.....
0
 
LVL 5

Expert Comment

by:millsoft
ID: 10736446
I suggest running it as a service.  You can run EXEs as services and start/stop them remotely.  Usually the settings are stored in the registry, and managed with a separate app that tweaks the values in the registry.
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 5

Author Comment

by:knowlton
ID: 10736458
>>>I suggest running it as a service.  You can run EXEs as services and start/stop them remotely.  Usually the settings are stored in the registry, and managed with a separate app that tweaks the values in the registry.


Any code samples that show a very basic  "hello world" for such an architecture....something I can use to get started?
0
 
LVL 7

Assisted Solution

by:TransBind
TransBind earned 100 total points
ID: 10736496
0
 
LVL 5

Accepted Solution

by:
millsoft earned 400 total points
ID: 10736515
0
 
LVL 5

Author Comment

by:knowlton
ID: 10736540
Also....if I write this as a service......with a seperate GUI (for configuration).....do I have to shut down the service before I can run the GUI?
0
 
LVL 5

Expert Comment

by:millsoft
ID: 10736609
No, the GUI can modify the registry without shuting down your app.  Of course, your app will either have to periodically requery the registry for the values to use, or other wise the changes would have no effect unless the service were restarted.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Install Problem 13 34
MediaHelp 4 26
using sqldatareader to populate cells in Excel-syntax 6 17
Amazon S3 .Net error 5 17
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question