qq说说文艺范简短句子:vb中的一些问题

来源:百度文库 编辑:神马品牌网 时间:2024/05/17 06:51:49
msgbox Err.desciption,vbcritical,"couo"
这个函数 里的 vbcritical和前面那个是什么意思啊?

1、Description 属性设置对错误进行简短描述。当无法处理或不想处理错误的时候,可以使用这个属性提醒用户。

Err.Description = "It was not possible to access an object necessary " _
& "for this operation。"

2、MsgBox "", vbCritical
MsgBox "", vbInformation
MsgBox "", vbYesNo
MsgBox "", vbRetryCancel
你试运行一下就知道了。