"Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application"
this is the error when i get while i run the apllication in the server....
is there any way to let the messagebo appear...
thanks

urgent~~~!!!MESSAGE BOX CANNOT DISPLAY.....
P47
DavidWalker
yes...you right.... so, is there a way that the server client can view the msgbox
Sorry if my explanation is not so clear....
werg
It's a plain vanilla windows app and it runs on a server - how do you interact with it Or does it run on your machine FROM a server If it's running on a server, it obviously is refusing to show a messagebox because that message box would show *on the server*.
Praveen.K
Is this a windows Service program or a program that is scheduled to run
atv4fun
I still don't know how this is running. Is the process running on the server How is the client interacting with the client
If you answer my questions, then it will become more clear, and I'll be able to help you.
If there is a client program and a server program, the server can return data that tells the client to show a message box. A process on the server will show a message box on the server, simple as that. What else would it do How do these programs communicate with each other Is the program on the server visible to users on the server Did you write both
jasonjcyr
Looks like you're running it in a situation where if it did show, it would be on the server, thus stopping your code from runing until someone could click OK.
XgenX
Morse
Please answer the question. What sort of application is it Does it run on a server, or on the local machine Is it a service The error you're getting indicates that you're expecting a message box on a client machine, but that you've been stopped from showing one on a server.