Private Sub Command1_Click()
MsgBox "因为你长的不够帅,所以执行了非法操作, " + Chr(13) + " " + Chr(13) + "此程序即将关闭," + Chr(10) + " " + Chr(13) + "如果有问题,请与供应商联系。", 19, "系统信息"
End Sub
最简单的就是用msgbox函数来实现:Private Sub Command1_Click()
msgbox "这里可以是你要描述的一句话"End Sub
Private Sub Command1_Click()
Dim x As Integer
x = MsgBox("内容", vbInformation, "标题") ' vbInformation是图标
End Sub
Private Sub Command1_Click()
MsgBox "你好!", 0+0+0+0, "系统信息"
End Sub