• 大小: 719B
    文件类型: .txt
    金币: 2
    下载: 1 次
    发布日期: 2021-05-17
  • 语言: VB
  • 标签: 读取TXT  

资源简介

Dim sr As System.IO.StreamReader = New System.IO.StreamReader(Application.StartupPath & "\tmp.Txt", System.Text.Encoding.Default) Dim line As String line = sr.ReadLine Me.ToolStripStatusLabel2.Text = line line = sr.ReadLine Me.ToolStripStatusLabel4.Text = line line = sr.ReadLine Me.ToolStripStatusLabel2.ToolTipText = line line = sr.ReadLine Me.ToolStripStatusLabel4.ToolTipText = line sr.Close()

资源截图

代码片段和文件信息

评论

共有 条评论