Solved

Pop up window from a Service

Posted on 2011-03-10
6
455 Views
Last Modified: 2012-06-22
Hi

I have a windows service that need to pop up a window with some information as soon as a specific event is triggered.

On Windows XP this was posible but on Windows 7 or Windows Vista it seems not even allowing the service to interact with the desktop will get the desired effect.

Does anyone know of a different method to achieve this ?

Any examples will be very helpfull.

Regards

Jaco
0
Comment
Question by:jeboersema
[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
  • 3
  • 2
6 Comments
 
LVL 2

Expert Comment

by:LelikInside
ID: 35094332
There is an option called Interactive in Service component.
0
 
LVL 1

Author Comment

by:jeboersema
ID: 35094792
The problem with the Interactive Service support in Windows Vista and 7 is that it hide your current desktop and show a different desktop (1 color).

I would like to have it Seamless as it were in Windows XP.

Any other ideas ?
0
 
LVL 37

Accepted Solution

by:
Geert Gruwez earned 500 total points
ID: 35096068
create a normal front end in stead of a service app

the whole point in creating the service is so it can work without user interaction
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Closing Comment

by:jeboersema
ID: 35125624
This was not really the solution I was looking for, but I am not sure if the solution I am looking for actually exists.
0
 
LVL 37

Expert Comment

by:Geert Gruwez
ID: 35125909
you could do the following:
from the service write to a log file

in a secondary app, you can monitor the logfile
1: complex > using a hook on the folder
2: easy > using a timer to periodically check the size/timestamp of the logfile

next step: load the differences in a memo in the logfile
in unix this funcionality is trail
i once answered a question here with a delphi example of trail but i can't find it anymore

 

0
 
LVL 37

Expert Comment

by:Geert Gruwez
ID: 35129617
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

734 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