471,357 Members | 1,090 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

how to pop up window form in windows service

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.

Jul 21 '05 #1
3 4295
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.

"jim656" wrote:
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.

Jul 21 '05 #2
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?
"Jorge L Matos" wrote:
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.

"jim656" wrote:
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.

Jul 21 '05 #3
"jim656" <ji****@discussions.microsoft.com> wrote in message
news:0E**********************************@microsof t.com...
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.
could u give me more hint?

"Jorge L Matos" wrote:
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.

"jim656" wrote:
> 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.

Jul 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Rob Wahmann | last post: by
4 posts views Thread by Brad Jones | last post: by
4 posts views Thread by drodrig | last post: by
1 post views Thread by =?Utf-8?B?Vmlua2k=?= | last post: by
7 posts views Thread by =?Utf-8?B?Vmlua2k=?= | last post: by
reply views Thread by XIAOLAOHU | last post: by

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.