📄 form5.frm
字号:
VERSION 5.00
Object = "{E95A2510-F3D1-416D-823B-4F840FE98091}#3.0#0"; "Command.ocx"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form Form5
BackColor = &H00FFFFFF&
BorderStyle = 1 'Fixed Single
Caption = "依据文件管理"
ClientHeight = 6255
ClientLeft = 45
ClientTop = 330
ClientWidth = 8190
Icon = "Form5.frx":0000
LinkTopic = "Form5"
MaxButton = 0 'False
MDIChild = -1 'True
MinButton = 0 'False
ScaleHeight = 6255
ScaleWidth = 8190
Begin MSComctlLib.ImageList ImageList1
Left = 7560
Top = 120
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 32
ImageHeight = 32
MaskColor = 4194368
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 3
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form5.frx":84CA
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form5.frx":8B31
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form5.frx":9199
Key = ""
EndProperty
EndProperty
End
Begin VB.TextBox Text2
BorderStyle = 0 'None
Height = 975
Left = 5760
Locked = -1 'True
MultiLine = -1 'True
TabIndex = 9
Top = 4560
Width = 2295
End
Begin VB.Frame Frame1
BackColor = &H00FFFFFF&
Caption = "依据文件操作"
Height = 1575
Left = 120
TabIndex = 2
Top = 4560
Width = 5415
Begin VB.TextBox Text1
Height = 270
Index = 2
Left = 120
TabIndex = 13
Top = 1080
Visible = 0 'False
Width = 180
End
Begin CSCommand.Command Command2
Height = 375
Left = 4320
TabIndex = 8
Top = 960
Width = 855
_ExtentX = 1508
_ExtentY = 661
IconAlign = 0
Icon = "Form5.frx":97FC
Caption = "删 除"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin CSCommand.Command Command1
Default = -1 'True
Height = 375
Left = 2520
TabIndex = 7
Top = 1080
Width = 1335
_ExtentX = 2355
_ExtentY = 661
IconAlign = 0
Icon = "Form5.frx":9818
Caption = "完 成"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.TextBox Text1
Height = 270
Index = 1
Left = 1320
TabIndex = 4
Top = 720
Width = 2535
End
Begin VB.TextBox Text1
Height = 270
Index = 0
Left = 1320
TabIndex = 3
Top = 360
Width = 2535
End
Begin CSCommand.Command Command4
Height = 375
Left = 4320
TabIndex = 11
Top = 360
Width = 855
_ExtentX = 1508
_ExtentY = 661
IconAlign = 0
Icon = "Form5.frx":9834
Caption = "新 增"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "依据文件名称"
Height = 255
Index = 1
Left = 120
TabIndex = 6
Top = 720
Width = 1215
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "依据文件编号"
Height = 255
Index = 0
Left = 120
TabIndex = 5
Top = 360
Width = 1215
End
End
Begin MSComctlLib.ListView ListView2
Height = 3735
Left = 3960
TabIndex = 1
Top = 720
Width = 4095
_ExtentX = 7223
_ExtentY = 6588
LabelWrap = -1 'True
HideSelection = -1 'True
_Version = 393217
Icons = "ImageList1"
SmallIcons = "ImageList1"
ColHdrIcons = "ImageList1"
ForeColor = -2147483640
BackColor = -2147483643
BorderStyle = 1
Appearance = 1
NumItems = 0
End
Begin MSComctlLib.ListView ListView1
Height = 3735
Left = 120
TabIndex = 0
Top = 720
Width = 3735
_ExtentX = 6588
_ExtentY = 6588
LabelWrap = -1 'True
HideSelection = -1 'True
FullRowSelect = -1 'True
GridLines = -1 'True
_Version = 393217
ForeColor = -2147483640
BackColor = -2147483643
BorderStyle = 1
Appearance = 1
NumItems = 0
End
Begin CSCommand.Command Command3
Height = 375
Left = 6960
TabIndex = 10
Top = 5640
Width = 1095
_ExtentX = 1931
_ExtentY = 661
IconAlign = 0
Icon = "Form5.frx":9850
Caption = "返回数据"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin CSCommand.Command Command5
Height = 375
Left = 5640
TabIndex = 12
Top = 5640
Width = 1095
_ExtentX = 1931
_ExtentY = 661
IconAlign = 0
Icon = "Form5.frx":986C
Caption = "打开文件夹"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.Image Image1
Height = 645
Left = 2040
Picture = "Form5.frx":9888
Top = 0
Width = 3585
End
End
Attribute VB_Name = "Form5"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim conn As ADODB.Connection
Dim rs As ADODB.Recordset
Dim SQL, connstr, wjmc, tmp_path As String
Dim wjID As Long
Dim listselected As Boolean
Private Sub Command1_Click()
On Error Resume Next
Text1(0).Text = Trim(Text1(0).Text)
Text1(1).Text = Trim(Text1(1).Text)
If Text1(1).Text = "" Or Text1(0).Text = "" Then
MDIForm1.StatusBar1.Panels(1).Text = "请填写完全"
Exit Sub
End If
If wjID = 0 Then
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -