R
Ryan
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.
In the Main module; I have the following lines of code (VS 2008) which shows
a minimized form; executes the code and closes the form.
Sub Main()
Dim custForm As New CustomerForm
custForm .ShowDialog()
End Sub
in UserInteractive mode is not a valid operation. Specify the
ServiceNotification or DefaultDesktopOnly style to display a notification
from a service application.
In the Main module; I have the following lines of code (VS 2008) which shows
a minimized form; executes the code and closes the form.
Sub Main()
Dim custForm As New CustomerForm
custForm .ShowDialog()
End Sub