?? xgmm.frm
字號:
VERSION 5.00
Begin VB.Form form11
BorderStyle = 1 'Fixed Single
Caption = "修改密碼"
ClientHeight = 1890
ClientLeft = 5715
ClientTop = 2925
ClientWidth = 3930
Icon = "xgmm.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MDIChild = -1 'True
MinButton = 0 'False
ScaleHeight = 1890
ScaleWidth = 3930
Begin VB.Frame Frame1
Height = 1695
Left = 120
TabIndex = 0
Top = 0
Width = 3735
Begin VB.TextBox Text1
BackColor = &H00FFFFFF&
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 600
TabIndex = 3
Top = 600
Width = 1935
End
Begin VB.CommandButton Command1
Caption = "確定(&O)"
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 480
TabIndex = 2
Top = 1080
Width = 1095
End
Begin VB.CommandButton Command2
Caption = "取消(&C)"
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 1680
TabIndex = 1
Top = 1080
Width = 1095
End
Begin VB.Data Data1
Caption = "Data1"
Connect = "Access"
DatabaseName = ""
DefaultCursorType= 0 '缺省游標
DefaultType = 2 '使用 ODBC
Exclusive = 0 'False
Height = 405
Left = 1920
Options = 0
ReadOnly = 0 'False
RecordsetType = 1 'Dynaset
RecordSource = ""
Top = 0
Visible = 0 'False
Width = 1455
End
Begin VB.Image Image1
Height = 810
Left = 2760
Picture = "xgmm.frx":0442
Top = 240
Width = 825
End
Begin VB.Label Label1
Caption = "請輸入新密碼: "
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 120
TabIndex = 4
Top = 240
Width = 1815
End
End
End
Attribute VB_Name = "form11"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Text1.Text = "" Then
MsgBox "密碼不能為空!", , "提示"
'xgmm.Show
Text1.SetFocus
Exit Sub
End If
Data1.Recordset.MoveFirst
Do Until Data1.Recordset.EOF
If Data1.Recordset("zybh") = dlz Then
Data1.Recordset.Edit
Data1.Recordset("mm") = form11.Text1.Text
Data1.Recordset.Update
Data1.Refresh
MsgBox "密碼修改成功!", , "提示"
Exit Do
End If
Data1.Recordset.MoveNext
Loop
Unload Me
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Form_Load()
Data1.DatabaseName = App.Path & "\db1.mdb"
Data1.RecordSource = "select * from yhmm"
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -