HOME > .NET Framework > Forum > It is invalid to show a modal dialog or form when the application is not running in UserInteractive mode. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
It is invalid to show a modal dialog or form when the application is not running in UserInteractive mode. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
It is invalid to show a modal dialog or form when the application is not running in UserInteractive mode. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
Line 169: Dim tYS As Integer = Convert.ToInt32(txtyS.Text)
Line 170: Dim tYE As Integer = Convert.ToInt32(txtyE.Text)
Line 171: If tYS <= 1970 Or tYE >= 2010 Then
Line 172: lblShow.Text = "Please"
Line 173: End If
Source File: D:\Inetpub\wwwroot\ITEC\forms\frmTest2.aspx.vb Line: 171