Solved

Running something 24 hours a day

Posted on 2004-04-01
8
214 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to LOAD up a .NET Framework website with data? 2 42
Get id from json Data with NewtonSoft 3 35
ASP.NET 5 Templates 2 68
Video Player 2017 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…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 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

Need Help in Real-Time?

Connect with top rated Experts

28 Experts available now in Live!

Get 1:1 Help Now