⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frmsplash.frm

📁 本人长期从事人事管理工作
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmSplash 
   BorderStyle     =   3  'Fixed Dialog
   ClientHeight    =   6915
   ClientLeft      =   255
   ClientTop       =   1410
   ClientWidth     =   8235
   ClipControls    =   0   'False
   ControlBox      =   0   'False
   Icon            =   "frmSplash.frx":0000
   KeyPreview      =   -1  'True
   LinkTopic       =   "Form2"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   6915
   ScaleWidth      =   8235
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  '屏幕中心
   Begin VB.Timer Timer1 
      Left            =   240
      Top             =   6240
   End
   Begin VB.CommandButton Command2 
      Caption         =   "试  用"
      Height          =   375
      Left            =   6960
      TabIndex        =   1
      Top             =   6360
      Width           =   855
   End
   Begin VB.CommandButton Command1 
      Caption         =   "注  册"
      Height          =   375
      Left            =   5640
      TabIndex        =   0
      Top             =   6360
      Width           =   855
   End
   Begin VB.Image Image1 
      Height          =   6075
      Left            =   0
      Picture         =   "frmSplash.frx":08CA
      Top             =   0
      Width           =   8250
   End
   Begin VB.Label Label1 
      Caption         =   "试用版数据库记录不超过30条"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   255
      Left            =   1200
      TabIndex        =   2
      Top             =   6360
      Width           =   3255
   End
End
Attribute VB_Name = "frmSplash"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Option Explicit

Private Sub Command1_Click()
Dialog.Show

End Sub

Private Sub Command2_Click()
Form1.Show
Unload frmSplash
End Sub

Private Sub Form_KeyPress(KeyAscii As Integer)
    Unload Me
End Sub

Private Sub Form_Load()
 
 Dim filename, s
 
 '调取soturip文件,检查是否为注册用户
 
 On Error GoTo weizhuce:   '注意:error应放在本段程序前面前面
  
filename = "c:\soturip.ini"
   
 Open filename For Input As #1
  
 Line Input #1, s
 
 If s = "rtyiityur" Then
 
 Command1.Visible = False
 Command2.Visible = False
 
 Timer1.Interval = 1  '首界面停止2秒钟
 
 Label1.Caption = ""
 frmSplash.Height = 6075  '改变窗体大小
 Form1.Command11.Visible = False  '将主界面中的“注册”按纽隐含
   
 Else: GoTo weizhuce
 
 End If
  
 Exit Sub
  
weizhuce:
     
 Timer1.Enabled = False
 Command1.Visible = True
 Command2.Visible = True
 Label1.Caption = "试用版数据库记录不超过30条"
 
End Sub

Private Sub Timer1_Timer()

Form1.Show

Unload Me

End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -