查看: 973|回复: 1
|
为何confirmation box不work呢?
[复制链接]
|
|
If MsgBox("Are you sure to continue?", MsgBoxStyle.YesNo, "Confirmation Box") = MsgBoxResult.Yes Then
End If
我用上面的command,在自己电脑运行时没问题。。 但放到server就出现以下的error msg
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. |
|
|
|
|
|
|
|
发表于 17-7-2007 01:26 AM
|
显示全部楼层
原帖由 counterking 于 16-7-2007 10:39 AM 发表 
If MsgBox("Are you sure to continue?", MsgBoxStyle.YesNo, "Confirmation Box" = MsgBoxResult.Yes Then
End If
我用上面的command,在自己电脑运行时没问题。。 但放到server就出现以下的error msg
...
你是否要display message box 在 web page 里面? |
|
|
|
|
|
|
| |
本周最热论坛帖子
|