新手求助哦
求版主给我一个代码、代码是这样的,就是在一个窗口里 输入密码之后 弹到另外一个窗口显示字体或者图片。
我要代码 代码哦 最好有制作教程 我想试试···
Option Explicit Public LoginSucceeded As Boolean Private Sub cmdCancel_Click() LoginSucceeded = False Me.Hide End Sub Private Sub cmdOK_Click() If txtPassword = "password" Then LoginSucceeded = True Me.Hide Form1.Show Else MsgBox "Invalid Password, try again!", , "Login" txtPassword.SetFocus SendKeys "{Home}+{End}" End If End Sub