关于VB6 中的关闭程序

来源:百度知道 编辑:UC知道 时间:2024/05/28 06:30:51
我做了个输入密码的验证,如果输入错误,就结束程序,

这个应该用什么代码啊?
如果用END,后面应该跟什么呢??
END Form1?

很简单嘛!!直接写上:
if a=fasle then
end
end if '后面什么也不用加

也可以直接写:
if a=fasle then
Unload Me
end if

不是,就只有这一行代码
End
其它不要

如果是想要关闭窗口那就用
窗口.unload