Hi all,
Can anybody point to examples on the internet of adding a user interface to
a windows service? I can find plenty on controlling the services, IE
starting stopping them etc. I want to be able to write a windows service
that can interact with the desktop and user when they are logged in via
terminal services as well as locally.
The reason I'm after this is I want to create a windows service that
executes a function depending on a schedule I want the users to easily be
able to change that schedule.
Thanks
Gav 4 1209
Why dont you just create an application to change the scheduling data, both
the service and the application can read the same data - perhaps held in the
local registry, or a simple xml file.
--
Regards
John Timney
Microsoft MVP
"Gav" <sp**@spam.com> wrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl... Hi all,
Can anybody point to examples on the internet of adding a user interface to a windows service? I can find plenty on controlling the services, IE starting stopping them etc. I want to be able to write a windows service that can interact with the desktop and user when they are logged in via terminal services as well as locally.
The reason I'm after this is I want to create a windows service that executes a function depending on a schedule I want the users to easily be able to change that schedule.
Thanks Gav
Well, those two don't have to be the same thing right.
You could write:
1) Windows service that executes the scheduled functions from a
database, or XML file.
2) A Windows form application that puts data into the database or XML
file, to be read by the Windows service.
Gav wrote: Hi all,
Can anybody point to examples on the internet of adding a user interface to a windows service? I can find plenty on controlling the services, IE starting stopping them etc. I want to be able to write a windows service that can interact with the desktop and user when they are logged in via terminal services as well as locally.
The reason I'm after this is I want to create a windows service that executes a function depending on a schedule I want the users to easily be able to change that schedule.
Thanks Gav
Thanks for the advise guys...
It certainly seems the way to go, I just thought what I was initially
looking at may have been simple. Either way will still do the same job,
thanks again.
Regards
Gav
"John A. Bailo" <ja*****@texeme.com> wrote in message
news:44**************@texeme.com... Well, those two don't have to be the same thing right.
You could write:
1) Windows service that executes the scheduled functions from a database, or XML file.
2) A Windows form application that puts data into the database or XML file, to be read by the Windows service.
Gav wrote: Hi all,
Can anybody point to examples on the internet of adding a user interface to a windows service? I can find plenty on controlling the services, IE starting stopping them etc. I want to be able to write a windows service that can interact with the desktop and user when they are logged in via terminal services as well as locally.
The reason I'm after this is I want to create a windows service that executes a function depending on a schedule I want the users to easily be able to change that schedule.
Thanks Gav
Wanna be hitech?
Host Asp.Net and create asp pages. Then user can interact through IE /
http-web as well as web application, you can then even host web svc
within win svc.
Else just create a simplest tcp-socket-adapter and implement minimal
http and let users interact with it, in this way u hav full control.
User can connect from anywhere to interact / Monitor* your
windows_service activities.
---
hB This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Stefan Hinz |
last post by:
Degan,
jumping in to try and solve some problems that look pretty obvious to
me ...
> #options for default service (mysqld2)
> (mysqld2)
It should be , not (mysqld2).
|
by: Bill Sonia |
last post by:
I've written a Windows Service to send e-mails on events like OnStart,
OnStop, OnShutDown using System.Web.Mail. It works for everything but
OnShutdown. My guess is that for OnShutDown, once my...
|
by: illegal.prime |
last post by:
Hi all, I have a service that needs to start a regular windows
application.
I'm running the service as ServiceAccount.LocalSystem.
But, when it starts the process (using Process.Start) the GUI...
|
by: =?Utf-8?B?dmlzaHJ1dGg=?= |
last post by:
This code works fine in Windows Application.
In Windows Application, I am able to zip the image files properly and it
totally contains 900MB
My problem is the same code which I used in my Windows...
|
by: =?Utf-8?B?dmlzaHJ1dGg=?= |
last post by:
Hi,
I have 2 applications running, one Windows application project and the other
windows services project.
I want to call my Windows application in my windows services.
I want to run them as...
|
by: =?Utf-8?B?dmlzaHJ1dGg=?= |
last post by:
Hi,
I have 2 applications running, one Windows application project and the other
windows services project.
I want to call my Windows application in my windows services.
I want to run them as...
|
by: dm3281 |
last post by:
I'm really starting to hate writing services -- or trying to, anyway.
Why do I need to rename my project to the service name?
Why do I need to set the "ServiceName" property to my service name?...
|
by: AmberJain |
last post by:
Windows Autorun FAQs: Overview
NOTE- This complete article on "Windows Autorun FAQs" applies theoretically to all Windows NT-based OSes till Windows Vista (and probably Vista's successors too)....
|
by: AmberJain |
last post by:
Windows Autorun FAQs: List of autostart locations
Linked from the Original article- "Windows Autorun FAQs: Description".
Que: Can you list all the autostart locations for windows?
Ans: Here is...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
|
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...
| |