佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 971|回复: 1

为何confirmation box不work呢?

[复制链接]
发表于 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

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.
回复

使用道具 举报


ADVERTISEMENT

发表于 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 里面?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 13-9-2025 06:06 PM , Processed in 0.443527 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表