how to pop up window form in windows service

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

windows service always running in the background. but in my case, when
running into a certain situation, I need to pop up a window form to notify
the user, how can I accomplish? I have tried to use Process.start, It really
run, but still keep in background.
 
Jim,

Make sure you click the "Allow service to interact with desktop" checkbox on
the "Log On" tab of the properties page for the service.
 
Jorge:

Problem still remains. I have tried the method you refered . Only
difference, this time, application's name disappear from task manager,
before, I could see the name of application in the process tab of task
manager. (I use Process.star to lanuch another application.)

could u give me more hint?
 
jim656 said:
Jorge:

Problem still remains. I have tried the method you refered . Only
difference, this time, application's name disappear from task manager,
before, I could see the name of application in the process tab of task
manager. (I use Process.star to lanuch another application.)

Ideally you should never popup a form or message box from a service. Rather
have a client application (perhaps residing in the notification bar) that
monitors the service and pops up the form.
 
Back
Top