473,385 Members | 1,342 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,385 software developers and data experts.

Interactive windows service

Hi,

I read that interactive windows services will not be allowed to run under
Wista. I would like to ask what exactly is the interactive service. It is
supposed to be a service that communicates with desktop.

What about the following scenario: A service will create a thread. This
thread will create and run an UI Windows application that manages task bar
and so on on a desktop. This application will communicate with the service:
a/ by pipes
b/ by control codes

So it means the service doesn't communicate with user desktop directly. Is
it an intercative service?

Thank you for answer.

Lubomir.
Dec 21 '05 #1
3 4574
Hi,
"Lubomir" <Lu*****@discussions.microsoft.com> wrote in message
news:EC**********************************@microsof t.com...
Hi,

I read that interactive windows services will not be allowed to run under
Wista. I would like to ask what exactly is the interactive service. It is
supposed to be a service that communicates with desktop.
Yes,
What about the following scenario: A service will create a thread. This
thread will create and run an UI Windows application that manages task bar
and so on on a desktop. This application will communicate with the
service:
a/ by pipes
b/ by control codes
That's not a good idea, why? because the services are started before you can
even login. so there is no "desktop" at that moment.
So it means the service doesn't communicate with user desktop directly. Is
it an intercative service?

What uou can do is put your app in the startup folder so when you login you
run it, it can then communicate with your service using any of the available
methods : pipes/remoting/tcp /ServiceController class

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
Dec 21 '05 #2
Thanks for answer, but when that service will communicate with that windows
app will it be an interactive service?
Or, interactive service is only service which communictaes directly with
desktop?

Thanks,

Lubomir

"Ignacio Machin ( .NET/ C# MVP )" wrote:
Hi,
"Lubomir" <Lu*****@discussions.microsoft.com> wrote in message
news:EC**********************************@microsof t.com...
Hi,

I read that interactive windows services will not be allowed to run under
Wista. I would like to ask what exactly is the interactive service. It is
supposed to be a service that communicates with desktop.


Yes,
What about the following scenario: A service will create a thread. This
thread will create and run an UI Windows application that manages task bar
and so on on a desktop. This application will communicate with the
service:
a/ by pipes
b/ by control codes


That's not a good idea, why? because the services are started before you can
even login. so there is no "desktop" at that moment.
So it means the service doesn't communicate with user desktop directly. Is
it an intercative service?

What uou can do is put your app in the startup folder so when you login you
run it, it can then communicate with your service using any of the available
methods : pipes/remoting/tcp /ServiceController class

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

Dec 21 '05 #3
Lubomir,

The service should not and in the case of Vista, can not be interactive.
A service is not "interactive". Rather, a service can have the ability to
interact with the desktop. However, it's pretty pointless to try and do
this, because you might not have a desktop to interact with, or you might
have multiple ones (in the case of terminal server).

That being the case, you need an application that will talk to the
service, which has access to the desktop, and can provide user interaction.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Lubomir" <Lu*****@discussions.microsoft.com> wrote in message
news:60**********************************@microsof t.com...
Thanks for answer, but when that service will communicate with that
windows
app will it be an interactive service?
Or, interactive service is only service which communictaes directly with
desktop?

Thanks,

Lubomir

"Ignacio Machin ( .NET/ C# MVP )" wrote:
Hi,
"Lubomir" <Lu*****@discussions.microsoft.com> wrote in message
news:EC**********************************@microsof t.com...
> Hi,
>
> I read that interactive windows services will not be allowed to run
> under
> Wista. I would like to ask what exactly is the interactive service. It
> is
> supposed to be a service that communicates with desktop.


Yes,
> What about the following scenario: A service will create a thread. This
> thread will create and run an UI Windows application that manages task
> bar
> and so on on a desktop. This application will communicate with the
> service:
> a/ by pipes
> b/ by control codes


That's not a good idea, why? because the services are started before you
can
even login. so there is no "desktop" at that moment.
> So it means the service doesn't communicate with user desktop directly.
> Is
> it an intercative service?

What uou can do is put your app in the startup folder so when you login
you
run it, it can then communicate with your service using any of the
available
methods : pipes/remoting/tcp /ServiceController class

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

Dec 21 '05 #4

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

Similar topics

0
by: flat_ross | last post by:
I have a service running under SYSTEM in XP that needs to notify the interactive user. From all of my newsgroup reading it looks like it is no longer acceptable to set the service as "Interact...
0
by: robear | last post by:
Hi All.. I have developed an application (vb.net) that basically wakes up early morning, and transmits via FTP an access database. The application works fine. Lately, it hasnt been working, so...
6
by: Microsoft | last post by:
I'm new to CSharp, previously having done all my development in Delphi. I need to create a service, and for the development cycle I wish it to be an interactive service and use message boxes to...
0
by: Shahzad Atta | last post by:
Hi there, I need to write a windows service which temporarily suspends windows loginprocess and display a custom authentication dialog, On authentication windows authentication will resume. To...
0
by: Vaibhav Podutwar. | last post by:
Hi, I am developing windows service in C#, I have to develop interactive service but this service can be used by the user who has not have the administrative writes. I am facing the problem...
1
by: Qais | last post by:
Hi there all, i am trying to work on this for past two weeks but nothing seem to work. I am trying to launch a process from windows service (i have to do this way, no other option). Windows...
1
by: Andreas | last post by:
Hi, I'm developing a non-interactive C++ windows service (as support for interactive services will run out...) that shall communicate with a .net application on the local host. What's the best...
2
by: ranadhirnag | last post by:
To create a 'interactive' service on windows - we use a localsystem account ,with 'Interact with desktop' option. Is there any other account which allows a service to be interactive - e.g. can a...
0
balabaster
by: balabaster | last post by:
Hi, I know this question has been answered before (somewhat) but I have a twist... I've written a client/server application where the server portion runs as a windows service and allows...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.