110,539
社区成员
发帖
与我相关
我的任务
分享
Dim fn As New IO.FileStream("D:\Program Files\Chroma\CFPT 2912\Program\5515B36C02.pgm", IO.FileMode.Open)
Dim fr As New IO.BinaryReader(fn)
Dim data() As Byte = fr.ReadBytes(1000)
For i As Integer = 0 To data.Length - 1
If (data(i) = 0) Then
data(i) = 32
End If
Next
TextBox1.Text = System.Text.Encoding.ASCII.GetString(data)
fr.Close()
fn.Close()