jeboersema
asked on
Pop up window from a Service
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
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
There is an option called Interactive in Service component.
ASKER
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 ?
I would like to have it Seamless as it were in Windows XP.
Any other ideas ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This was not really the solution I was looking for, but I am not sure if the solution I am looking for actually exists.
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
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
ah ... it's not trail, but tail !!!
https://www.experts-exchange.com/questions/26030147/send-via-email-only-new-logs-entries.html
https://www.experts-exchange.com/questions/26030147/send-via-email-only-new-logs-entries.html