怎样做一个自动弹出对话框

来源:百度知道 编辑:UC知道 时间:2024/06/08 16:13:18
我想要一个自动弹出对话框的程序,不是网页中弹出的。
内容是“想明白生命的意义吗?想真正……或者吗?”。下面要有两个按钮,一个“是”,一个“否”。
直接用vbs编好的贴上来最好,或者高手做好程序留个地址也行。
我想要的对话框就这个样子。付连接:
https://gss0.baidu.com/7LsWdDW5_xN3otqbppnN2DJv/nailidexiaowu/pic/item/983736fbbced9c284e4aeab0.jpg

对你的要求不是太明白

[VB6]将下边的代码粘到记事本保存为Form2.frm
打开后自己修改吧

VERSION 5.00
Begin VB.Form Form2
Caption = "Form2"
ClientHeight = 1830
ClientLeft = 60
ClientTop = 345
ClientWidth = 4620
LinkTopic = "Form2"
ScaleHeight = 1830
ScaleWidth = 4620
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command1
Caption = "否"
Height = 495
Index = 1
Left = 2760
TabIndex = 2
Top = 1200
Width = 1455
End
Begin VB.CommandButton Command1
Caption = "是"
Height = 495
Index = 0
Left = 600
TabIndex = 1
Top