frmhelp.frm

来自「系统设置对超级用户 即root有对一般用户管理的功能 对普通用户只有修改自己」· FRM 代码 · 共 67 行

FRM
67
字号
VERSION 5.00
Begin VB.Form FrmHelp 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "Help"
   ClientHeight    =   6375
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   6900
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   6375
   ScaleWidth      =   6900
   StartUpPosition =   3  'Windows Default
   Begin VB.TextBox Text1 
      Appearance      =   0  'Flat
      BorderStyle     =   0  'None
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   9.75
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   6375
      Left            =   0
      MultiLine       =   -1  'True
      ScrollBars      =   2  'Vertical
      TabIndex        =   0
      Text            =   "FrmHelp.frx":0000
      Top             =   0
      Width           =   6855
   End
End
Attribute VB_Name = "FrmHelp"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
Dim fil As Integer
Dim textline As String

If Dir(App.Path + "\readme.txt") <> "" Then
   
    fil = FreeFile

    Open App.Path + "\readme.txt" For Input As #fil
    
        Do While Not EOF(fil)
            
            Line Input #fil, textline ' 读入一行数据并将其赋予某变量。
            Text1.Text = Text1.Text + textline + Chr$(13) + Chr$(10)
            
        Loop
            
    Close #fil

Else
    MsgBox "找不到指定文件"
    Exit Sub
End If

End Sub

⌨️ 快捷键说明

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