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

📄 form1.frm

📁 联通手机短信发送器情报所的中文光盘和军医大学图书馆光盘检索的各种文本文献摘要。从本版本开始,文献之星可以检索转换...可以设置小文档包含的单词数量。* 新增了“获取网页中所有声音连接
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   8130
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   9495
   LinkTopic       =   "Form1"
   ScaleHeight     =   8130
   ScaleWidth      =   9495
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command2 
      Caption         =   "保存"
      Height          =   495
      Left            =   5160
      TabIndex        =   2
      Top             =   7440
      Width           =   1095
   End
   Begin VB.CommandButton Command1 
      Caption         =   "打开"
      Height          =   495
      Left            =   3120
      TabIndex        =   1
      Top             =   7440
      Width           =   1095
   End
   Begin VB.TextBox Text1 
      Height          =   6975
      Left            =   480
      MultiLine       =   -1  'True
      ScrollBars      =   3  'Both
      TabIndex        =   0
      Top             =   120
      Width           =   8415
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim FileLength As Long
Dim FileContent() As Byte
Dim FileName As String
Private Sub Command1_Click() '打开
  Dim texttemp As String
  Dim temp1 As String
  Dim sa As String
  Dim l As Long
  Dim tempsa As String
  Open "f:\test.txt" For Input As #1
  tempsa = StrConv(InputB$(LOF(1), 1), vbUnicode)
  sa = tempsa
  texttemp = sa
    'temp1 = StringEnDeCodecn(texttemp, 120)'解密
  Close #1 '关闭文件
  Text1.Text = texttemp
End Sub
Private Sub Command2_Click() '保存
  Dim temp As String
  Dim sa As String
  Dim tempsa As String
  FileName = "f:\test.txt"
  FileLength = FileLen(FileName)
  ReDim FileContent(FileLength)
  Open "f:\test.txt" For Input As #1
  tempsa = StrConv(InputB$(LOF(1), 1), vbUnicode)
  sa = tempsa
  temp = Trim(Trim(sa) + Trim(Text1.Text))
  Close #1
  Open "f:\test.txt" For Binary As #1
  Put #1, , temp
  Close #1
End Sub
Private Sub Form_Load()
  Text1.Text = ""
End Sub

⌨️ 快捷键说明

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