差可拟的拟的读音:vb的问题

来源:百度文库 编辑:高考问答 时间:2024/05/03 00:56:05
输入密码,当密码是1234时,打开C:\11.exe在vb中用什么命令?

Private Sub Command1_Click()
If Text1.Text = "1234" Then RetVal = Shell("c:\1.exe", 1)
End Sub

Text1里输入密码

Private Sub Command1_Click()
If Text1.Text = "1234" Then Shell("c:\11.exe")
End Sub