📄 zcform6.frm
字号:
VERSION 5.00
Begin VB.Form Form2
Caption = "农业生产数据统计管理系统注册"
ClientHeight = 3825
ClientLeft = 60
ClientTop = 345
ClientWidth = 6480
ControlBox = 0 'False
LinkTopic = "Form6"
ScaleHeight = 3825
ScaleWidth = 6480
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Begin VB.CommandButton Command1
Caption = "结 束"
Height = 315
Left = 1290
TabIndex = 6
Top = 3480
Width = 1125
End
Begin VB.TextBox Text1
Enabled = 0 'False
Height = 2505
Left = 3360
MultiLine = -1 'True
TabIndex = 2
Text = "zcForm6.frx":0000
Top = 1230
Width = 2985
End
Begin VB.PictureBox Picture1
Appearance = 0 'Flat
BackColor = &H80000005&
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 2145
Left = 690
Picture = "zcForm6.frx":0183
ScaleHeight = 2145
ScaleWidth = 2175
TabIndex = 0
Top = 1140
Width = 2175
End
Begin VB.Label Label4
Caption = "另:本人从事网络工程设计、安装、调试及系统软件开发,愿本人之工作能 带给你更多的方便!"
Height = 435
Left = 390
TabIndex = 5
Top = 750
Width = 5985
End
Begin VB.Label Label3
Caption = "通用工资管理系统FORwindows95/98/NT"
Height = 225
Left = 900
TabIndex = 4
Top = 540
Width = 4665
End
Begin VB.Label Label2
Caption = "农业系统作物生产统计系统FOR Windows95/98/NT"
Height = 225
Left = 900
TabIndex = 3
Top = 330
Width = 4665
End
Begin VB.Label Label1
Caption = "欢迎使用黄雪峰开发的产品:"
BeginProperty Font
Name = "黑体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 255
Left = 360
TabIndex = 1
Top = 60
Width = 5205
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim winlj As String
Dim HXFRQ As Long
Dim HXFSC As Long
Function getwindowsdir() As String
Dim strbuf As String
strbuf = Space(80)
If GetWindowsDirectory(strbuf, 80) > 0 Then
getwindowsdir = UCase$(strbuf)
End If
End Function
Private Sub Command1_Click()
Set wws = DBEngine.Workspaces(0)
Set wdb = wws.OpenDatabase(xtlj + "dwxx.mdb")
Set wtb1 = wdb.OpenRecordset("注册标记", dbOpenTable)
wtb1.MoveFirst
If wtb1("注册标记") = False Then
wtb1.Edit
wtb1("注册标记") = True
wtb1.Update
End If
wdb.Close
winlj = getwindowsdir()
HXFRQ = Format(Year(Date)) & Right("00" & Format(Month(Date)), 2) & Right("00" & Format(Day(Date)), 2)
HXFSC = Val(HXFRQ)
winlj = Left(Trim$(winlj), Len(Trim$(winlj)) - 1) & "\WINGZZC.DLL"
Open winlj For Random As #1 Len = 10
Put #1, 1, HXFSC
Get #1, 1, HXFSC
Close #1
Unload Me
End
End Sub
Private Sub Picture1_Click()
Unload Me
End
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -