Show a message box from a Windows Service
Posted
by Jonn
on Stack Overflow
See other posts from Stack Overflow
or by Jonn
Published on 2010-05-07T06:22:07Z
Indexed on
2010/05/07
6:28 UTC
Read the original article
Hit count: 219
windows-services
|messagebox
Can you display a message box (or any form of notification) from a windows service? Can't get it to work. I used:
global::System.Windows.Forms.MessageBox.Show("A fatal error occurred. " +
ServiceName + " is now terminating.");
but it didn't work and just produced an error.
© Stack Overflow or respective owner