?
Solved

Running something 24 hours a day

Posted on 2004-04-01
8
Medium Priority
?
220 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:Tom Knowlton
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 5

Author Comment

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

?????
0
 
LVL 5

Author Comment

by:Tom 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 5

Author Comment

by:Tom 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 400 total points
ID: 10736496
0
 
LVL 5

Accepted Solution

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

Author Comment

by:Tom 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: 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.

Question has a verified solution.

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

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
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.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses
Course of the Month10 days, 11 hours left to enroll

765 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