Web Services And Msgbox



I am using code in a VB.NET dll that is used for a winforms app, and calling
some of the routines from a web service. Even though the code never makes it
to a message box, message boxes are spread throughout some of these
routines. I seem to be getting an error randomly in the code, even though
the code should not generate an error:

"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."

Can I not just use a global variable to write out an audit log instead of
showing message boxes? Or are web services going to error just because a
message box is a possibility in the code?

Derek


.



Relevant Pages

  • Re: Web Services And Msgbox
    ... Even though the code never makes it to a message box, message boxes are spread throughout some of these routines. ... If you want to debug like that, it's on your development machine, and it's a workstation such a XP you're debugging on, the use the NETSEND in code pointing back to the machine-name. ... I don't see why you couldn't do that with a Web service that being developed on your workstation. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Creating db front end or middleware.
    ... or report on people in a database. ... of routines that do things like, change_address, ... Now if you effectively want/need a web service, ... But if you already use a RDBMS, ...
    (comp.lang.python)
  • Re: Converting a Dataset to a RecordSet web services issue
    ... output of a Web Service, to a RecordSet that is usable in some VBA ... routines. ... there are a ton of references for the error "Recordset cannot ... is there a way to walk through an XML document in VBA? ...
    (microsoft.public.data.ado)