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

📄 frmsplash.frm

📁 电脑公司硬件销售管理系统是一个很好的一个VB管理系统
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmSplash 
   BorderStyle     =   3  'Fixed Dialog
   ClientHeight    =   3240
   ClientLeft      =   255
   ClientTop       =   1410
   ClientWidth     =   6240
   ClipControls    =   0   'False
   ControlBox      =   0   'False
   Icon            =   "frmSplash.frx":0000
   KeyPreview      =   -1  'True
   LinkTopic       =   "Form2"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3240
   ScaleWidth      =   6240
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  '屏幕中心
   Begin VB.Frame Frame1 
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   7.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00C00000&
      Height          =   3210
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   6240
      Begin VB.PictureBox Picture1 
         Height          =   1575
         Left            =   240
         Picture         =   "frmSplash.frx":030A
         ScaleHeight     =   1515
         ScaleWidth      =   1755
         TabIndex        =   9
         Top             =   1080
         Width           =   1815
      End
      Begin VB.Label lblPlatform 
         Alignment       =   1  'Right Justify
         AutoSize        =   -1  'True
         Caption         =   "平台:Windows 98/ME/NT/2000/XP"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   210
         Left            =   2520
         TabIndex        =   8
         Top             =   1560
         Width           =   3450
      End
      Begin VB.Label lblVersion 
         Alignment       =   1  'Right Justify
         AutoSize        =   -1  'True
         Caption         =   "版本 1.0 (测试版)"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   180
         Left            =   4260
         TabIndex        =   7
         Top             =   1320
         Width           =   1800
      End
      Begin VB.Label lblCompany 
         Caption         =   "引导者软件公司"
         Height          =   255
         Left            =   2400
         TabIndex        =   6
         Top             =   2400
         Width           =   1455
      End
      Begin VB.Label lblCopyright 
         Caption         =   "版权所有   Lori-chen"
         Height          =   255
         Left            =   4200
         TabIndex        =   5
         Top             =   2400
         Width           =   1935
      End
      Begin VB.Label lblWarning 
         Caption         =   "警告:本程序受版权法及国际版权公约保护。详情见""帮助""!"
         Height          =   195
         Left            =   1320
         TabIndex        =   4
         Top             =   2760
         Width           =   4845
      End
      Begin VB.Label Label2 
         AutoSize        =   -1  'True
         Caption         =   "载入中 "
         Height          =   180
         Left            =   2400
         TabIndex        =   3
         Top             =   2160
         Width           =   630
      End
      Begin VB.Label Label1 
         Caption         =   "南通市金恒生计算机硬件公司管理系统"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   15.75
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00800000&
         Height          =   495
         Left            =   360
         TabIndex        =   2
         Top             =   720
         Width           =   5655
      End
      Begin VB.Label Label3 
         Caption         =   "本软件属于"
         Height          =   255
         Left            =   3360
         TabIndex        =   1
         Top             =   240
         Width           =   2295
      End
   End
   Begin VB.Timer Timer2 
      Interval        =   200
      Left            =   1680
      Top             =   1440
   End
   Begin VB.Timer Timer1 
      Interval        =   1200
      Left            =   1200
      Top             =   1440
   End
End
Attribute VB_Name = "frmSplash"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'欢迎你下载使用本代码,本份代码由程序太平洋提供下载学习之用
'声明:
'1.本站所有代码的版权归原作者所有,如果你使用了在本站下载的源代码
'  引起的一切纠纷(后果)与本站无关,请您尊重原作者的劳动成果!
'2.若本站在代码上有侵权之处请您与站长联系,站长会及时更正。
'网站:http://www.dapha.net
'论坛:http://www.5ivb.net
'Email:dapha@etang.com
'CopyRight 2001-2005 By dapha.net
'整理时间:2003-8-16 12:43:58


Option Explicit
Dim bReg As Boolean

Private Sub Form_Load()
    If App.PrevInstance Then
        MsgBox "该程序已运行!"
        End
    End If

    'Dim strName As String
    'Dim strSN As String
    'Dim strLen As String
    'Dim aa As Integer
    'Dim strTmp As String
    'Dim i As Integer
    'Dim reg(20) As Integer
    'Dim strYZ As String
    'MDIForm1.Hide
    'Dim regtmp(256) As Integer
    '     bReg = True
    '     Me.MousePointer = 13
    '     strName = GetSetting("南通市金恒生电脑硬件公司管理系统", "Ver 1.1", "Name")
    '     strSN = GetSetting("南通市金恒生电脑硬件公司管理系统", "Ver 1.1", "SN")''

    '     If strName = "" Or strSN = "" Then GoTo k

    '判断注册码是否与用户名相对应
    '    strLen = Len(strName)
    '   For i = 1 To strLen
    '         strTmp = Asc(Mid(strName, i, 1))
    '         reg(i) = strTmp + 27
    '              If reg(i) < 0 Then reg(i) = -reg(i)
    '    Next i
    '    For i = strLen To 1 Step -1
    '         strYZ = reg(i) & strYZ
    '    Next i
    '    If strSN = strYZ Then
    '         Me.Label2.Caption = Me.Label3.Caption & strName & "  使用"
    '    End If
    '    If strSN <> strYZ Then
    '         MsgBox "错误的注册码或假的注册码!", vbOKOnly + 16, "南通市金恒生电脑硬件公司管理系统Ver"
    '         bReg = False
    '    End If
    'Exit Sub

    'k:
    '     Me.Label2.Caption = "未注册版本"
    'Exit Sub
End Sub

Private Sub lblPlatform_Click()
    Shell "hh.exe " & App.Path & "\help\help.chm", vbNormalNoFocus
End Sub

Private Sub Timer1_Timer()
    '     If bReg = False Then End
    '     If bReg = True Then
    '          Unload Me
    '          MDIForm1.Show
    '     End If

    Unload Me
    Form1.Show

End Sub

Private Sub Timer2_Timer()
    Me.Label2.Caption = Me.Label2.Caption & "."
End Sub

'统计结果:
'    注释共:42行

⌨️ 快捷键说明

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