📄 form9.frm
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "msadodc.ocx"
Begin VB.Form Form9
Caption = "Form9"
ClientHeight = 3090
ClientLeft = 60
ClientTop = 450
ClientWidth = 9255
LinkTopic = "Form9"
ScaleHeight = 3090
ScaleWidth = 9255
StartUpPosition = 3 'Windows Default
Begin VB.TextBox Text1
Height = 495
Index = 0
Left = 3000
TabIndex = 2
Text = "Text1"
Top = 360
Width = 2775
End
Begin MSAdodcLib.Adodc Adodc2
Height = 495
Left = 6720
Top = 2280
Width = 2415
_ExtentX = 4260
_ExtentY = 873
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 = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin VB.CommandButton Command1
Caption = "Command1"
Height = 495
Index = 0
Left = 7200
TabIndex = 0
Top = 720
Width = 1335
End
Begin VB.Label Label1
Caption = "Label1"
Height = 375
Index = 0
Left = 240
TabIndex = 1
Top = 480
Width = 2415
End
End
Attribute VB_Name = "Form9"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim cMAx As Integer
Private Sub Form_Load()
Adodc2.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\招聘信息.mdb;Persist Security Info=False"
Adodc2.RecordSource = "select c from tblC "
Adodc2.Refresh
cMAx = Adodc2.Recordset.Fields(0)
Dim i As Integer
For i = 1 To cMAx - 1
Load Command1(i)
Command1(i).Top = Command1(i - 1).Top
Command1(i).Left = Command1(i - 1).Left + Command1(i - 1).Width
Command1(i).Visible = True
Load Text1(i)
Next
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -