backs.frm

来自「这是一个医院管理系统中的院长查询模块」· FRM 代码 · 共 252 行

FRM
252 行
字号
VERSION 5.00
Object = "{6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.3#0"; "COMCTL32.OCX"
Begin VB.Form Form11 
   BorderStyle     =   0  'None
   Caption         =   "Form11"
   ClientHeight    =   3945
   ClientLeft      =   240
   ClientTop       =   1530
   ClientWidth     =   7065
   BeginProperty Font 
      Name            =   "隶书"
      Size            =   12
      Charset         =   134
      Weight          =   700
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   LinkTopic       =   "Form11"
   ScaleHeight     =   3945
   ScaleWidth      =   7065
   ShowInTaskbar   =   0   'False
   Begin VB.Timer Timer1 
      Left            =   0
      Top             =   0
   End
   Begin VB.Timer Timer5 
      Left            =   405
      Top             =   270
   End
   Begin ComctlLib.ProgressBar P1 
      Height          =   255
      Left            =   3735
      TabIndex        =   0
      Top             =   7680
      Visible         =   0   'False
      Width           =   6060
      _ExtentX        =   10689
      _ExtentY        =   450
      _Version        =   327682
      BorderStyle     =   1
      Appearance      =   1
   End
   Begin VB.Image L5 
      Height          =   2880
      Left            =   2280
      Picture         =   "BACKS.frx":0000
      Stretch         =   -1  'True
      Top             =   2850
      Width           =   7485
   End
   Begin VB.Label DXL2 
      BackStyle       =   0  'Transparent
      Caption         =   $"BACKS.frx":18F64
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   14.25
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00000040&
      Height          =   15
      Left            =   1485
      TabIndex        =   7
      Top             =   4680
      Visible         =   0   'False
      Width           =   6900
   End
   Begin VB.Label L1 
      BackStyle       =   0  'Transparent
      Caption         =   "东星医用网络系列"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   15.75
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H0000FF00&
      Height          =   330
      Left            =   12210
      TabIndex        =   5
      Top             =   1020
      Width           =   4125
   End
   Begin VB.Label L2 
      BackStyle       =   0  'Transparent
      Caption         =   "东北微电子研究所-东星电子公司承制"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   14.25
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H0000FF00&
      Height          =   330
      Left            =   5250
      TabIndex        =   4
      Top             =   6090
      Width           =   4590
   End
   Begin VB.Label L4 
      BackStyle       =   0  'Transparent
      Caption         =   "总经理:刘敏"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H0000FFFF&
      Height          =   330
      Left            =   5475
      TabIndex        =   3
      Top             =   6435
      Width           =   1995
   End
   Begin VB.Label L3 
      BackStyle       =   0  'Transparent
      Caption         =   "TEL:(024)86219857"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H0000FFFF&
      Height          =   240
      Left            =   7185
      TabIndex        =   2
      Top             =   6435
      Width           =   2265
   End
   Begin VB.Label LABEL1 
      BackStyle       =   0  'Transparent
      Caption         =   "请等待      正在装入..."
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   14.25
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000FF&
      Height          =   690
      Index           =   0
      Left            =   2025
      TabIndex        =   1
      Top             =   7440
      Width           =   2220
   End
   Begin VB.Label Label16 
      BackStyle       =   0  'Transparent
      BorderStyle     =   1  'Fixed Single
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   14.25
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H0000FFFF&
      Height          =   5445
      Left            =   1620
      TabIndex        =   6
      Top             =   1740
      Width           =   9060
   End
   Begin VB.Image Image1 
      Height          =   9195
      Left            =   0
      Picture         =   "BACKS.frx":19156
      Stretch         =   -1  'True
      Top             =   0
      Width           =   12045
   End
End
Attribute VB_Name = "Form11"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
Me.Top = 0
Me.Left = 0
Me.Height = Screen.Height
Me.Width = Screen.Width
P1.Value = 0
P1.Visible = True
Timer5.Interval = 1
Timer5.Enabled = True
End Sub

Private Sub Timer1_Timer()
On Error GoTo ERR
Timer1.Enabled = False
P1.Value = 80
Load Form3
P1.Value = 100
P1.Visible = False
Label1(0).Visible = False
Me.Enabled = False
'Unload Me
'Form3.Show
menu = 50
mmm.Show
Exit Sub
ERR:
MsgBox "系统错误,退出!"
End
End Sub

Private Sub Timer5_Timer()
On Error GoTo ddes
Timer5.Enabled = False
P1.Visible = True
P1.Value = 20
Dim d1 As Recordset
Shell "C:\WINDOWS\net time \\mainfwq /set /y", vbMinimizedNoFocus
P1.Value = 40
'Shell "\windows\rundll.exe user.exe,exitwindows", 1
DxPassWord = "ODBC;UID=zwj;PWD=qqq;DATABASE=NETba"
DxPass = "UID=zwj;PWD=qqq;DATABASE=NETba;DNS=YDHISMZ;"
Set db = OpenDatabase("207his", False, False, DxPassWord)
P1.Value = 60
Timer1.Interval = 10
Timer1.Enabled = True
Exit Sub
ddes:
MsgBox "系统错误,退出!"
End
End Sub

⌨️ 快捷键说明

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