|
-
December 6th, 2002, 09:43 AM
#1
msgbox in windows service
Is it possible to have a msgbox appear from a running service in Win2000?
-
December 11th, 2002, 12:11 AM
#2
Don't do this. By default, if a service tries to display a dialog box of any kind (including MessageBoxes), the UI will actually get placed on a non-interactive service desktop that is inaccessible to interactive users. It takes a lot of work for a service to display a dialog/messagebox and it is never recommended.
Why do you want to display a messagebox? If you want a service to report an error, use the EventLog like all other services do.
- Robert
-
December 11th, 2002, 12:13 AM
#3
I need a messagebox because the service is manipulating some flat files and if a file is transmitted to us a second time, we need to be notified immediately. I guess an alternative is to have some kind of message thrown from the application log. Is this possible?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|