📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
AutoRedraw = -1 'True
BorderStyle = 4 'Fixed ToolWindow
Caption = "Update server"
ClientHeight = 870
ClientLeft = 45
ClientTop = 360
ClientWidth = 5025
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 870
ScaleWidth = 5025
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.Timer Timer1
Interval = 3000
Left = 3780
Top = 180
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "正在更新程序,请稍后...."
Height = 180
Left = 1350
TabIndex = 0
Top = 315
Width = 2160
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Private Sub Timer1_Timer()
On Error Resume Next
Sleep 1000
f = App.Path & "\lypppoe.tmp"
If CStr(Dir(f)) <> "" Then
SetAttr App.Path & "\LYDLPPPoE.exe", vbNormal
Kill App.Path & "\LYDLPPPoE.exe"
DoEvents
Sleep 1000
FileCopy App.Path & "\lypppoe.tmp", App.Path & "\LYDLPPPoE.exe"
Sleep 1000
Kill App.Path & "\lypppoe.tmp"
DoEvents
End If
Sleep 1000
Shell App.Path & "\LYDLPPPoE.exe"
Set Form1 = Nothing
End
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -