?? frmother.frm
字號(hào):
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
Begin VB.Form FrmOther
Caption = "雜項(xiàng)設(shè)置"
ClientHeight = 6225
ClientLeft = 60
ClientTop = 450
ClientWidth = 7470
Icon = "FrmOther.frx":0000
LinkTopic = "Form1"
ScaleHeight = 6225
ScaleWidth = 7470
StartUpPosition = 1 '所有者中心
Begin MSAdodcLib.Adodc Adodc1
Height = 375
Left = 5280
Top = 5760
Visible = 0 'False
Width = 1680
_ExtentX = 2963
_ExtentY = 661
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 8
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = ""
OLEDBString = ""
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = ""
Caption = "Adodc1"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin VB.CommandButton Command2
Caption = "返回"
Height = 375
Left = 3600
TabIndex = 4
Top = 5760
Width = 940
End
Begin VB.CommandButton Command1
Caption = "應(yīng)用"
Height = 375
Left = 2040
TabIndex = 3
Top = 5760
Width = 940
End
Begin TabDlg.SSTab SSTab1
Height = 5655
Left = 0
TabIndex = 0
Top = 0
Width = 7455
_ExtentX = 13150
_ExtentY = 9975
_Version = 393216
Style = 1
Tabs = 8
TabsPerRow = 8
TabHeight = 520
TabCaption(0) = "系統(tǒng)參數(shù)"
TabPicture(0) = "FrmOther.frx":1982
Tab(0).ControlEnabled= -1 'True
Tab(0).Control(0)= "Frame1"
Tab(0).Control(0).Enabled= 0 'False
Tab(0).ControlCount= 1
TabCaption(1) = "接待登記"
TabPicture(1) = "FrmOther.frx":199E
Tab(1).ControlEnabled= 0 'False
Tab(1).ControlCount= 0
TabCaption(2) = "收銀結(jié)帳"
TabPicture(2) = "FrmOther.frx":19BA
Tab(2).ControlEnabled= 0 'False
Tab(2).ControlCount= 0
TabCaption(3) = "網(wǎng)絡(luò)配置"
TabPicture(3) = "FrmOther.frx":19D6
Tab(3).ControlEnabled= 0 'False
Tab(3).ControlCount= 0
TabCaption(4) = "卡讀寫(xiě)器"
TabPicture(4) = "FrmOther.frx":19F2
Tab(4).ControlEnabled= 0 'False
Tab(4).ControlCount= 0
TabCaption(5) = "話費(fèi)接口"
TabPicture(5) = "FrmOther.frx":1A0E
Tab(5).ControlEnabled= 0 'False
Tab(5).ControlCount= 0
TabCaption(6) = "VOD接口"
TabPicture(6) = "FrmOther.frx":1A2A
Tab(6).ControlEnabled= 0 'False
Tab(6).ControlCount= 0
TabCaption(7) = "高級(jí)選項(xiàng)"
TabPicture(7) = "FrmOther.frx":1A46
Tab(7).ControlEnabled= 0 'False
Tab(7).ControlCount= 0
Begin VB.Frame Frame1
Height = 5055
Left = 120
TabIndex = 1
Top = 480
Width = 7215
Begin VB.CheckBox Check1
Caption = "啟動(dòng)系統(tǒng)后直接進(jìn)入『快速入住』菜單"
Height = 180
Index = 0
Left = 240
TabIndex = 2
Top = 240
Width = 3375
End
End
End
End
Attribute VB_Name = "FrmOther"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim chflag As Boolean
Adodc1.Recordset.MoveFirst
For i = 1 To Check1.Count
If Check1(i - 1).Value = 0 Then
chflag = False
Else
chflag = True
End If
Adodc1.Recordset.Fields(i - 1).Value = chflag
Next
Adodc1.Recordset.Update
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Form_Load()
Dim chflag As Integer
With Adodc1
.ConnectionString = My_PROVIDER
.ConnectionTimeout = 30
.CursorType = adOpenStatic
.CursorLocation = adUseClient
.RecordSource = "select * from 雜項(xiàng)"
.Refresh
End With
'Command1.Caption = CBool(Adodc1.Recordset.Fields(0).Value)
For i = 1 To Check1.Count
If Not Adodc1.Recordset.EOF Then
Select Case Adodc1.Recordset.Fields(i - 1).Value
Case Is = False
chflag = 0
Case Is = True
chflag = 1
Case Else
End Select
Check1(i - 1).Value = chflag
Adodc1.Recordset.MoveNext
End If
Next
End Sub
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -