📄 frmsplash.frm
字号:
VERSION 5.00
Begin VB.Form frmSplash
BorderStyle = 3 'Fixed Dialog
ClientHeight = 5025
ClientLeft = 45
ClientTop = 45
ClientWidth = 7455
ControlBox = 0 'False
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 5025
ScaleWidth = 7455
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Visible = 0 'False
Begin VB.Frame fraMainFrame
Height = 4710
Left = 60
TabIndex = 0
Top = -120
Width = 7380
Begin VB.CommandButton Command4
Caption = "进入"
Height = 375
Left = 3240
TabIndex = 8
Top = 3840
Width = 975
End
Begin VB.TextBox Text1
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 345
IMEMode = 3 'DISABLE
Left = 1320
PasswordChar = "*"
TabIndex = 6
Top = 3870
Width = 1575
End
Begin VB.CommandButton Command2
Caption = "退出"
Height = 375
Left = 5880
TabIndex = 3
Top = 3840
Width = 975
End
Begin VB.CommandButton Command1
Caption = "试用"
Height = 375
Left = 4560
TabIndex = 2
Top = 3840
Width = 975
End
Begin VB.Label Label8
BackStyle = 0 'Transparent
Caption = "长沙宏福图书有限公司"
BeginProperty Font
Name = "华文行楷"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Index = 1
Left = 3240
TabIndex = 13
Top = 2460
Width = 3135
End
Begin VB.Label Label8
BackStyle = 0 'Transparent
Caption = "三思博客文化发展有限公司"
BeginProperty Font
Name = "华文行楷"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Index = 0
Left = 3240
TabIndex = 12
Top = 2040
Width = 3135
End
Begin VB.Label Label7
BackStyle = 0 'Transparent
Caption = "协作单位:化学工业出版社"
BeginProperty Font
Name = "华文行楷"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2010
TabIndex = 11
Top = 1590
Width = 3855
End
Begin VB.Label Label6
BackStyle = 0 'Transparent
Caption = "联系方式:Email:yjxiong@mail.csu.edu.cn,QQ:503622690(interface)"
Height = 255
Left = 1350
TabIndex = 10
Top = 4320
Width = 5805
End
Begin VB.Label Label5
BackStyle = 0 'Transparent
Caption = "系统设计:熊拥军"
BeginProperty Font
Name = "华文行楷"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2550
TabIndex = 9
Top = 1050
Width = 2535
End
Begin VB.Label Label4
BackStyle = 0 'Transparent
Caption = "密码:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 660
TabIndex = 7
Top = 3930
Width = 735
End
Begin VB.Label label2
BackStyle = 0 'Transparent
Caption = "出版社图书出入库管理系统"
BeginProperty Font
Name = "华文行楷"
Size = 21.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 1170
TabIndex = 4
Top = 360
Width = 5445
End
Begin VB.Label Label1
Height = 255
Left = 240
TabIndex = 1
Top = 3840
Width = 1455
End
Begin VB.Image Image1
Height = 3720
Left = -60
Picture = "frmSplash.frx":0000
Stretch = -1 'True
Top = 120
Width = 7425
End
End
Begin VB.Label Label3
Caption = "您的注册码为:"
Height = 255
Left = 240
TabIndex = 5
Top = 4680
Width = 7215
End
End
Attribute VB_Name = "frmSplash"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Declare Function GetVolumeInformation Lib _
"kernel32.dll" Alias "GetVolumeInformationA" (ByVal _
lpRootPathName As String, ByVal lpVolumeNameBuffer As _
String, ByVal nVolumeNameSize As Integer, _
lpVolumeSerialNumber As Long, lpMaximumComponentLength _
As Long, lpFileSystemFlags As Long, ByVal _
lpFileSystemNameBuffer As String, ByVal _
nFileSystemNameSize As Long) As Long
Private Sub Command1_Click()
Dim datet As Date
Dim sysdir As String
banben = "试用"
If Dir("d:\cbssys\bookcgk.mdb") <> "" Then
SetAttr "d:\cbssys\bookcgk.mdb", 32
Else
MsgBox "请将光盘上的cbssys目录考入D盘的根目录下!"
Exit Sub
End If
If Dir("c:\windows\system\ado310.dll") = "ado310.dll" Then
Kill ("c:\windows\system\ado310.dll")
End If
dirstr1 = "C:\WINNT\system\ado310.dll"
If Dir(dirstr1) = "ado310.dll" Then
Kill ("c:\winnt\system\ado310.dll")
End If
If Dir("c:\windows\system.ini") <> "" Then
sysdir = "c:\windows\system\ado410.dll"
Else
sysdir = "c:\winnt\system\ado410.dll"
End If
If Dir(sysdir) = "" Then
'not find file,create file
Open sysdir For Output As #1
Write #1, 1
Close #1
times = 1
Else
Open sysdir For Input As #2
Input #2, times
t% = Val(times)
Close #2
times = Str(t + 1)
If times > 8 Then
' Label1.Caption = Str(times)
MsgBox "试用次数到,请Email:yjxiong@mail.csu.edu.cn;QQ:503622690 与我们联系,将为您提供更好的服务!"
Exit Sub
Else
' Label1.Caption = Str(times)
End If
Open sysdir For Output As #3
Write #3, times
Close #3
End If
datet = Now()
If datet > CDate("2009-7-1") Then
MsgBox "试用时间到,请与开者联系!"
Exit Sub
End If
'读单位名称
If Dir("d:\cbssys\dw.txt") <> "" Then
Open "d:\cbssys\dw.txt" For Input As #2
Line Input #2, dwstring
Line Input #2, welcomestring
Line Input #2, thankstring
Close #2
Else
dwstring = "——图书馆"
welcomestring = ""
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -