?? form1.frm
字號(hào):
VERSION 5.00
Begin VB.Form Form1
BorderStyle = 1 'Fixed Single
Caption = "計(jì)算機(jī)0110-28羅杰"
ClientHeight = 3195
ClientLeft = 2550
ClientTop = 2325
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 3195
ScaleWidth = 4680
Begin VB.CommandButton Command2
Caption = "退出"
Height = 375
Left = 3120
TabIndex = 6
Top = 2640
Width = 1095
End
Begin VB.CommandButton Command1
Caption = "登錄"
Height = 375
Left = 1560
TabIndex = 5
Top = 2640
Width = 1215
End
Begin VB.TextBox Text2
Height = 375
IMEMode = 3 'DISABLE
Left = 1560
PasswordChar = "*"
TabIndex = 4
Text = "admin"
Top = 1800
Width = 1455
End
Begin VB.TextBox Text1
Height = 375
Left = 1560
TabIndex = 3
Text = "admin"
Top = 960
Width = 1455
End
Begin VB.Label Label3
Caption = "密碼"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 720
TabIndex = 2
Top = 1800
Width = 855
End
Begin VB.Label Label2
Caption = "用戶名"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 720
TabIndex = 1
Top = 1080
Width = 735
End
Begin VB.Label Label1
Caption = "倉庫管理系統(tǒng)"
BeginProperty Font
Name = "宋體"
Size = 18
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 1080
TabIndex = 0
Top = 240
Width = 2895
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim pubConn As New ADODB.Connection
Dim rsTable As New ADODB.Recordset
Dim strSQL As String
pubConn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=" & App.Path & "\luojie.mdb" & ";" & "Persist Security Info=False"
pubConn.ConnectionTimeout = 30
pubConn.Open
rsTable.CursorLocation = adUseClient
strSQL = "select 用戶名 from user11 where user11.用戶名='" & Trim(Text1.Text) & "' and user11.密碼='" & Trim(Text2.Text) & "'"
rsTable.Open strSQL, pubConn, adOpenDynamic, adLockOptimistic
If rsTable.EOF = True And rsTable.BOF Then
m = MsgBox("請(qǐng)重新登錄", vbExclamation)
Text1.Text = ""
Text1.SetFocus
Else
Unload Me
Form2.Show
End If
End Sub
Private Sub RealAudio1_OnGotoURL(ByVal url As String, ByVal target As String)
End Sub
Private Sub DataCombo1_Click(Area As Integer)
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -