📄 frmalluser.frm
字号:
VERSION 5.00
Begin VB.Form frmAllUser
BackColor = &H80000008&
Caption = "Form1"
ClientHeight = 3585
ClientLeft = 60
ClientTop = 345
ClientWidth = 5640
LinkTopic = "Form1"
ScaleHeight = 3585
ScaleWidth = 5640
StartUpPosition = 3 '窗口缺省
Begin VB.ListBox lst
Height = 2580
Left = 240
TabIndex = 3
Top = 240
Width = 2295
End
Begin VB.TextBox txt
Height = 270
Index = 0
Left = 3360
Locked = -1 'True
TabIndex = 2
Top = 1800
Width = 2175
End
Begin VB.TextBox txt
Height = 270
Index = 1
Left = 3360
Locked = -1 'True
TabIndex = 1
Top = 2520
Width = 2175
End
Begin VB.CommandButton cmd
Cancel = -1 'True
Caption = "关 闭"
Height = 345
Left = 4560
TabIndex = 0
Top = 3120
Width = 975
End
Begin VB.Label lblFAU
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "权限:"
ForeColor = &H00FFFFFF&
Height = 180
Index = 0
Left = 2760
TabIndex = 5
Top = 2640
Width = 540
End
Begin VB.Label lblFAU
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "姓名:"
ForeColor = &H00FFFFFF&
Height = 180
Index = 1
Left = 2760
TabIndex = 4
Top = 1920
Width = 540
End
End
Attribute VB_Name = "frmAllUser"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim rst As Recordset
Private Sub cmd_Click()
Unload Me
End Sub
Private Sub Form_Load()
End Sub
Private Sub lst_Click()
Set rst = New Recordset
Call LinkDB(landWay, SName, "weboy", SUName, SUPw)
con.Open
rst.Open "select * from users where name='" & lst.Text & "'", con, adOpenDynamic, adLockOptimistic
txt(0).Text = rst!name
txt(1).Text = rst!power
rst.Close
con.Close
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -