473,395 Members | 2,796 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Windows services UI

Gav
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
Apr 21 '06 #1
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

Apr 21 '06 #2

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

Apr 21 '06 #3
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

Apr 22 '06 #4
hB
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

Apr 22 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
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).
8
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...
3
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...
5
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...
2
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...
1
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...
5
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?...
0
AmberJain
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)....
0
AmberJain
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
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...
0
marktang
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,...
0
Oralloy
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,...
0
jinu1996
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...
0
tracyyun
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...

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.