?? frmfixdeposit4.frm
字號:
VERSION 5.00
Begin VB.Form frmFixDeposit4
BackColor = &H80000007&
Caption = "Form1"
ClientHeight = 2025
ClientLeft = 60
ClientTop = 345
ClientWidth = 5325
LinkTopic = "Form1"
ScaleHeight = 2025
ScaleWidth = 5325
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton cmdFinally
Caption = "完 成"
Default = -1 'True
Height = 345
Left = 2400
TabIndex = 4
Top = 1440
Width = 975
End
Begin VB.TextBox txt
Appearance = 0 'Flat
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 300
IMEMode = 3 'DISABLE
Index = 1
Left = 2520
PasswordChar = "*"
TabIndex = 3
Top = 720
Width = 2415
End
Begin VB.TextBox txt
Appearance = 0 'Flat
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 300
IMEMode = 3 'DISABLE
Index = 0
Left = 2520
PasswordChar = "*"
TabIndex = 2
Top = 240
Width = 2415
End
Begin VB.CommandButton cmdCancel
Cancel = -1 'True
Caption = "取 消"
Height = 345
Left = 3600
TabIndex = 1
Top = 1440
Width = 975
End
Begin VB.CommandButton cmdBack
Caption = "上一步"
Height = 345
Left = 1200
TabIndex = 0
Top = 1440
Width = 975
End
Begin VB.Label lbl
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "請用戶再次輸入帳戶密碼:"
ForeColor = &H00FFFFFF&
Height = 180
Index = 5
Left = 240
TabIndex = 6
Top = 840
Width = 2160
End
Begin VB.Label lbl
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "請用戶輸入帳戶密碼:"
ForeColor = &H00FFFFFF&
Height = 180
Index = 4
Left = 600
TabIndex = 5
Top = 360
Width = 1800
End
End
Attribute VB_Name = "frmFixDeposit4"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
''''''''''''''''''''''''''''''''詳細說明請參照 frmOAA4↓
Public theID As String
Public theName As String
Public thePassword As String
Public thePhone As String
Public theStationID As String
Public theAddress As String
Public theMoney As Double
Public thePassTime As Double
Public theDepositTime As String
Public theFetchTime As String
Public theFAccrual As Double
Public theCAccrual As Double
Public theNowTime As String
'響應 "上一步" 銨鈕
Private Sub cmdBack_Click()
Unload Me
frmFixDeposit3.Show
End Sub
Private Sub cmdCancel_Click()
Unload Me
End Sub
Private Sub cmdFinally_Click()
If Len(txt(0)) > 12 Or Len(txt(1)) > 12 Then
MsgBox "密碼不得長于12位", vbExclamation, "提示"
txt(0).Text = ""
txt(1).Text = ""
txt(0).SetFocus
Exit Sub
End If
If txt(0) <> txt(1) Then
MsgBox "兩次密碼輸入不一樣,請重新輸入", vbExclamation, "提示"
txt(0).Text = ""
txt(1).Text = ""
txt(0).SetFocus
Exit Sub
End If
thePassword = txt(0).Text
Call LinkDB(landWay, SName, "weboy", SUName, SUPw)
con.Open
con.Execute "insert FConsumers values('" & theID & "','" & theName & "','" & thePassword & "'," & theMoney & "," & thePassTime & ",'" & theStationID & "','" & theAddress & "','" & thePhone & "','" & theCAccrual & "'," & theFAccrual & ",'" & userName & "','1','')"
con.Close
MsgBox "你的賬號是:" & theID
Unload Me
End Sub
Private Sub Form_Load()
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -